#D02D63#D02D63

#D02D63 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.1% C 0.199 H 7.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D02D63
RGBrgb(208, 45, 99)
HSLhsl(340, 64%, 50%)
HSVhsv(340, 78%, 82%)
CMYKcmyk(0%, 78.4%, 52.4%, 18.4%)
CIE-LABlab(47.23, 64.88, 9.55)
CIE-LCHlch(47.23, 65.58, 8.38°)
OKLaboklab(57.09% 0.1979 0.0246)
OKLCHoklch(57.09% 0.199 7.1)
XYZxyz(29.2057, 16.1917, 13.3894)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02D63 #2DD09A
analogous
#D02DB4 #D02D63 #D0492D
triadic
#D02D63 #63D02D #2D63D0
tetradic
#D02D63 #B4D02D #2DD09A #492DD0
square
#D02D63 #B4D02D #2DD09A #492DD0
split-complementary
#D02D63 #2DD049 #2DB4D0
monochromatic
#6B1733 #9E224B #D02D63 #DC5E88 #E790AD

Accessibility & contrast

On white

4.96
#D02D63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#D02D63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02D63
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02D63#FFFFFF#000000##FFFFFF
##D02D631.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585B64
Deuteranopia (green-blind)
#837C5F
Tritanopia (blue-blind)
#E30045
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d02d63;
/* rgb */ color: rgb(208, 45, 99);
/* oklch */ color: oklch(57.1% 0.199 7.1);
Tailwind
colors: {
  custom: {
    50: '#e5768f',
    500: '#d02d63',
    950: '#000000',
  },
}
SCSS
$custom: #d02d63;
$custom-light: #e5768f;
$custom-dark: #000000;
JSON
{
  "hex": "#d02d63",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 340.123,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.19942,
    "h": 7.1
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#D02D63
secondary
#87D2B9
accent
#E7B040
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D02D63

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

Preview Lab → · Contrast checker → · Palette generator →

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