#D02F84#D02F84

#D02F84 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.208 H 353.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D02F84
RGBrgb(208, 47, 132)
HSLhsl(328, 63%, 50%)
HSVhsv(328, 77%, 82%)
CMYKcmyk(0%, 77.4%, 36.5%, 18.4%)
CIE-LABlab(48.40, 67.30, -8.91)
CIE-LCHlch(48.40, 67.89, 352.46°)
OKLaboklab(58.27% 0.2068 -0.0227)
OKLCHoklch(58.27% 0.208 353.7)
XYZxyz(31.1958, 17.1128, 23.4856)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02F84 #2FD07B
analogous
#CB2FD0 #D02F84 #D02F34
triadic
#D02F84 #84D02F #2F84D0
tetradic
#D02F84 #D0CB2F #2FD07B #2F34D0
square
#D02F84 #D0CB2F #2FD07B #2F34D0
split-complementary
#D02F84 #34D02F #2FD0CB
monochromatic
#6C1845 #9E2464 #D02F84 #DB61A2 #E793BF

Accessibility & contrast

On white

4.75
#D02F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#D02F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02F84
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02F84#FFFFFF#000000##FFFFFF
##D02F841.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6086
Deuteranopia (green-blind)
#7D7D80
Tritanopia (blue-blind)
#E01B56
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d02f84;
/* rgb */ color: rgb(208, 47, 132);
/* oklch */ color: oklch(58.3% 0.208 353.7);
Tailwind
colors: {
  custom: {
    50: '#e478a7',
    500: '#d02f84',
    950: '#000000',
  },
}
SCSS
$custom: #d02f84;
$custom-light: #e478a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d02f84",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 328.323,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.20799,
    "h": 353.7
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#D02F84
secondary
#89D1AB
accent
#E68F42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D02F84

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

Preview Lab → · Contrast checker → · Palette generator →

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