#D02962#D02962

#D02962 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.8% C 0.203 H 7.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D02962
RGBrgb(208, 41, 98)
HSLhsl(340, 67%, 49%)
HSVhsv(340, 80%, 82%)
CMYKcmyk(0%, 80.3%, 52.9%, 18.4%)
CIE-LABlab(46.82, 65.88, 9.60)
CIE-LCHlch(46.82, 66.58, 8.29°)
OKLaboklab(56.78% 0.201 0.0247)
OKLCHoklch(56.78% 0.203 7)
XYZxyz(29.0127, 15.8818, 13.0907)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02962 #29D097
analogous
#D029B6 #D02962 #D04429
triadic
#D02962 #62D029 #2962D0
tetradic
#D02962 #B6D029 #29D097 #4429D0
square
#D02962 #B6D029 #29D097 #4429D0
split-complementary
#D02962 #29D044 #29B6D0
monochromatic
#6A1532 #9D1F4A #D02962 #DE5886 #E88BAB

Accessibility & contrast

On white

5.03
#D02962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#D02962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02962
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02962#FFFFFF#000000##FFFFFF
##D029621.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A63
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#E30043
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02962;
/* rgb */ color: rgb(208, 41, 98);
/* oklch */ color: oklch(56.8% 0.203 7.0);
Tailwind
colors: {
  custom: {
    50: '#e5758e',
    500: '#d02962',
    950: '#000000',
  },
}
SCSS
$custom: #d02962;
$custom-light: #e5758e;
$custom-dark: #000000;
JSON
{
  "hex": "#d02962",
  "rgb": {
    "r": 208,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 339.521,
    "s": 67.068,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.20253,
    "h": 7
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#D02962
secondary
#83D2B7
accent
#EAAF3E
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #D02962

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

Preview Lab → · Contrast checker → · Palette generator →

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