#D02758#D02758

#D02758 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.4% C 0.203 H 10.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D02758
RGBrgb(208, 39, 88)
HSLhsl(343, 68%, 48%)
HSVhsv(343, 81%, 82%)
CMYKcmyk(0%, 81.3%, 57.7%, 18.4%)
CIE-LABlab(46.40, 65.68, 15.20)
CIE-LCHlch(46.40, 67.42, 13.03°)
OKLaboklab(56.4% 0.1989 0.0379)
OKLCHoklch(56.4% 0.203 10.8)
XYZxyz(28.5023, 15.5698, 10.7351)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02758 #27D09F
analogous
#D027AC #D02758 #D04B27
triadic
#D02758 #58D027 #2758D0
tetradic
#D02758 #ACD027 #27D09F #4B27D0
square
#D02758 #ACD027 #27D09F #4B27D0
split-complementary
#D02758 #27D04B #27ACD0
monochromatic
#69142C #9C1D42 #D02758 #DF557D #E989A4

Accessibility & contrast

On white

5.11
#D02758 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#D02758 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02758
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02758#FFFFFF#000000##FFFFFF
##D027581.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585859
Deuteranopia (green-blind)
#837A54
Tritanopia (blue-blind)
#E4003D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d02758;
/* rgb */ color: rgb(208, 39, 88);
/* oklch */ color: oklch(56.4% 0.203 10.8);
Tailwind
colors: {
  custom: {
    50: '#e67486',
    500: '#d02758',
    950: '#000000',
  },
}
SCSS
$custom: #d02758;
$custom-light: #e67486;
$custom-dark: #000000;
JSON
{
  "hex": "#d02758",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 342.604,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.20253,
    "h": 10.8
  },
  "luminance": 0.15566
}

Semantic roles & 50–950 ramp

primary
#D02758
secondary
#80D2BB
accent
#EBB93D
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D02758

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D02758 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva