#D02F82#D02F82

#D02F82 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.207 H 354.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D02F82
RGBrgb(208, 47, 130)
HSLhsl(329, 63%, 50%)
HSVhsv(329, 77%, 82%)
CMYKcmyk(0%, 77.4%, 37.5%, 18.4%)
CIE-LABlab(48.33, 67.10, -7.80)
CIE-LCHlch(48.33, 67.55, 353.37°)
OKLaboklab(58.2% 0.2062 -0.0197)
OKLCHoklch(58.2% 0.207 354.5)
XYZxyz(31.0603, 17.0585, 22.7718)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02F82 #2FD07D
analogous
#CD2FD0 #D02F82 #D02F32
triadic
#D02F82 #82D02F #2F82D0
tetradic
#D02F82 #D0CD2F #2FD07D #2F32D0
square
#D02F82 #D0CD2F #2FD07D #2F32D0
split-complementary
#D02F82 #32D02F #2FD0CD
monochromatic
#6C1844 #9E2463 #D02F82 #DB61A0 #E793BE

Accessibility & contrast

On white

4.76
#D02F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#D02F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02F82
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02F82#FFFFFF#000000##FFFFFF
##D02F821.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#E11955
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d02f82;
/* rgb */ color: rgb(208, 47, 130);
/* oklch */ color: oklch(58.2% 0.207 354.5);
Tailwind
colors: {
  custom: {
    50: '#e478a6',
    500: '#d02f82',
    950: '#000000',
  },
}
SCSS
$custom: #d02f82;
$custom-light: #e478a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d02f82",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 329.068,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.20714,
    "h": 354.5
  },
  "luminance": 0.17055
}

Semantic roles & 50–950 ramp

primary
#D02F82
secondary
#89D1AC
accent
#E69142
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D02F82

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

Preview Lab → · Contrast checker → · Palette generator →

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