#D02C5D#D02C5D

#D02C5D is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.199 H 9.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D02C5D
RGBrgb(208, 44, 93)
HSLhsl(342, 65%, 49%)
HSVhsv(342, 79%, 82%)
CMYKcmyk(0%, 78.8%, 55.3%, 18.4%)
CIE-LABlab(46.98, 64.71, 12.91)
CIE-LCHlch(46.98, 65.99, 11.28°)
OKLaboklab(56.86% 0.1966 0.0327)
OKLCHoklch(56.86% 0.199 9.4)
XYZxyz(28.8917, 16.0058, 11.9219)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02C5D #2CD09F
analogous
#D02CAF #D02C5D #D04D2C
triadic
#D02C5D #5DD02C #2C5DD0
tetradic
#D02C5D #AFD02C #2CD09F #4D2CD0
square
#D02C5D #AFD02C #2CD09F #4D2CD0
split-complementary
#D02C5D #2CD04D #2CAFD0
monochromatic
#6B1730 #9D2146 #D02C5D #DD5D83 #E78FA9

Accessibility & contrast

On white

5.00
#D02C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#D02C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02C5D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02C5D#FFFFFF#000000##FFFFFF
##D02C5D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5E
Deuteranopia (green-blind)
#837B59
Tritanopia (blue-blind)
#E30041
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02c5d;
/* rgb */ color: rgb(208, 44, 93);
/* oklch */ color: oklch(56.9% 0.199 9.4);
Tailwind
colors: {
  custom: {
    50: '#e5768a',
    500: '#d02c5d',
    950: '#000000',
  },
}
SCSS
$custom: #d02c5d;
$custom-light: #e5768a;
$custom-dark: #000000;
JSON
{
  "hex": "#d02c5d",
  "rgb": {
    "r": 208,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 342.073,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.19926,
    "h": 9.4
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#D02C5D
secondary
#86D2BB
accent
#E8B640
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D02C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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