#D02A5B#D02A5B

#D02A5B is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.201 H 10.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D02A5B
RGBrgb(208, 42, 91)
HSLhsl(342, 66%, 49%)
HSVhsv(342, 80%, 82%)
CMYKcmyk(0%, 79.8%, 56.2%, 18.4%)
CIE-LABlab(46.74, 65.11, 13.81)
CIE-LCHlch(46.74, 66.56, 11.98°)
OKLaboklab(56.67% 0.1976 0.0348)
OKLCHoklch(56.67% 0.201 10)
XYZxyz(28.7316, 15.8254, 11.4372)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02A5B #2AD09F
analogous
#D02AAE #D02A5B #D04C2A
triadic
#D02A5B #5BD02A #2A5BD0
tetradic
#D02A5B #AED02A #2AD09F #4C2AD0
square
#D02A5B #AED02A #2AD09F #4C2AD0
split-complementary
#D02A5B #2AD04C #2AAED0
monochromatic
#6A152E #9D2045 #D02A5B #DE5A81 #E88DA7

Accessibility & contrast

On white

5.04
#D02A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#D02A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02A5B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02A5B#FFFFFF#000000##FFFFFF
##D02A5B1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59595C
Deuteranopia (green-blind)
#837B57
Tritanopia (blue-blind)
#E30040
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02a5b;
/* rgb */ color: rgb(208, 42, 91);
/* oklch */ color: oklch(56.7% 0.201 10.0);
Tailwind
colors: {
  custom: {
    50: '#e67589',
    500: '#d02a5b',
    950: '#000000',
  },
}
SCSS
$custom: #d02a5b;
$custom-light: #e67589;
$custom-dark: #000000;
JSON
{
  "hex": "#d02a5b",
  "rgb": {
    "r": 208,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 342.289,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.2006,
    "h": 10
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#D02A5B
secondary
#84D2BB
accent
#E9B73E
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D02A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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