#D02F7F#D02F7F

#D02F7F is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.206 H 355.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D02F7F
RGBrgb(208, 47, 127)
HSLhsl(330, 63%, 50%)
HSVhsv(330, 77%, 82%)
CMYKcmyk(0%, 77.4%, 38.9%, 18.4%)
CIE-LABlab(48.23, 66.79, -6.12)
CIE-LCHlch(48.23, 67.07, 354.76°)
OKLaboklab(58.09% 0.2054 -0.0153)
OKLCHoklch(58.09% 0.206 355.7)
XYZxyz(30.8619, 16.9792, 21.7267)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02F7F #2FD080
analogous
#D02FD0 #D02F7F #D02F2F
triadic
#D02F7F #7FD02F #2F7FD0
tetradic
#D02F7F #D0D02F #2FD080 #2F2FD0
square
#D02F7F #D0D02F #2FD080 #2F2FD0
split-complementary
#D02F7F #2FD02F #2FD0D0
monochromatic
#6C1842 #9E2461 #D02F7F #DB619E #E793BC

Accessibility & contrast

On white

4.78
#D02F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#D02F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02F7F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02F7F#FFFFFF#000000##FFFFFF
##D02F7F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#E11753
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d02f7f;
/* rgb */ color: rgb(208, 47, 127);
/* oklch */ color: oklch(58.1% 0.206 355.7);
Tailwind
colors: {
  custom: {
    50: '#e478a4',
    500: '#d02f7f',
    950: '#000000',
  },
}
SCSS
$custom: #d02f7f;
$custom-light: #e478a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d02f7f",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 330.186,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.20592,
    "h": 355.7
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#D02F7F
secondary
#89D1AE
accent
#E69442
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D02F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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