#D02557#D02557

#D02557 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.2% C 0.204 H 11.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D02557
RGBrgb(208, 37, 87)
HSLhsl(342, 70%, 48%)
HSVhsv(342, 82%, 82%)
CMYKcmyk(0%, 82.2%, 58.2%, 18.4%)
CIE-LABlab(46.21, 66.11, 15.55)
CIE-LCHlch(46.21, 67.91, 13.24°)
OKLaboklab(56.25% 0.2001 0.0387)
OKLCHoklch(56.25% 0.204 11)
XYZxyz(28.3972, 15.4254, 10.4971)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02557 #25D09E
analogous
#D025AC #D02557 #D04825
triadic
#D02557 #57D025 #2557D0
tetradic
#D02557 #ACD025 #25D09E #4825D0
square
#D02557 #ACD025 #25D09E #4825D0
split-complementary
#D02557 #25D048 #25ACD0
monochromatic
#68132C #9C1C41 #D02557 #E0527C #E986A3

Accessibility & contrast

On white

5.14
#D02557 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#D02557 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02557
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02557#FFFFFF#000000##FFFFFF
##D025571.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575758
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#E4003C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d02557;
/* rgb */ color: rgb(208, 37, 87);
/* oklch */ color: oklch(56.2% 0.204 11.0);
Tailwind
colors: {
  custom: {
    50: '#e67386',
    500: '#d02557',
    950: '#000000',
  },
}
SCSS
$custom: #d02557;
$custom-light: #e67386;
$custom-dark: #000000;
JSON
{
  "hex": "#d02557",
  "rgb": {
    "r": 208,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 342.456,
    "s": 69.796,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.20385,
    "h": 11
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#D02557
secondary
#7ED3BA
accent
#EDB93B
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D02557

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

Preview Lab → · Contrast checker → · Palette generator →

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