#D02A5F#D02A5F

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

Color values

HEX#D02A5F
RGBrgb(208, 42, 95)
HSLhsl(341, 66%, 49%)
HSVhsv(341, 80%, 82%)
CMYKcmyk(0%, 79.8%, 54.3%, 18.4%)
CIE-LABlab(46.84, 65.40, 11.48)
CIE-LCHlch(46.84, 66.40, 9.95°)
OKLaboklab(56.77% 0.1991 0.0292)
OKLCHoklch(56.77% 0.201 8.4)
XYZxyz(28.9087, 15.8963, 12.3703)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02A5F #2AD09B
analogous
#D02AB2 #D02A5F #D0482A
triadic
#D02A5F #5FD02A #2A5FD0
tetradic
#D02A5F #B2D02A #2AD09B #482AD0
square
#D02A5F #B2D02A #2AD09B #482AD0
split-complementary
#D02A5F #2AD048 #2AB2D0
monochromatic
#6A1530 #9D2048 #D02A5F #DE5A84 #E88DAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02A5F#FFFFFF#000000##FFFFFF
##D02A5F1.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)
#585A60
Deuteranopia (green-blind)
#837B5B
Tritanopia (blue-blind)
#E30042
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02a5f;
/* rgb */ color: rgb(208, 42, 95);
/* oklch */ color: oklch(56.8% 0.201 8.4);
Tailwind
colors: {
  custom: {
    50: '#e5758c',
    500: '#d02a5f',
    950: '#000000',
  },
}
SCSS
$custom: #d02a5f;
$custom-light: #e5758c;
$custom-dark: #000000;
JSON
{
  "hex": "#d02a5f",
  "rgb": {
    "r": 208,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 340.843,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.20121,
    "h": 8.4
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#D02A5F
secondary
#84D2B9
accent
#E9B33E
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #D02A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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