#D02757#D02757

#D02757 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.202 H 11.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D02757
RGBrgb(208, 39, 87)
HSLhsl(343, 68%, 48%)
HSVhsv(343, 81%, 82%)
CMYKcmyk(0%, 81.3%, 58.2%, 18.4%)
CIE-LABlab(46.38, 65.62, 15.79)
CIE-LCHlch(46.38, 67.49, 13.53°)
OKLaboklab(56.38% 0.1986 0.0393)
OKLCHoklch(56.38% 0.202 11.2)
XYZxyz(28.4612, 15.5533, 10.5184)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02757 #27D0A0
analogous
#D027AB #D02757 #D04C27
triadic
#D02757 #57D027 #2757D0
tetradic
#D02757 #ABD027 #27D0A0 #4C27D0
square
#D02757 #ABD027 #27D0A0 #4C27D0
split-complementary
#D02757 #27D04C #27ABD0
monochromatic
#69142C #9C1D41 #D02757 #DF557C #E989A4

Accessibility & contrast

On white

5.11
#D02757 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#D02757 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02757
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02757#FFFFFF#000000##FFFFFF
##D027571.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585858
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#E4003D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d02757;
/* rgb */ color: rgb(208, 39, 87);
/* oklch */ color: oklch(56.4% 0.202 11.2);
Tailwind
colors: {
  custom: {
    50: '#e67486',
    500: '#d02757',
    950: '#000000',
  },
}
SCSS
$custom: #d02757;
$custom-light: #e67486;
$custom-dark: #000000;
JSON
{
  "hex": "#d02757",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 342.959,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.20241,
    "h": 11.2
  },
  "luminance": 0.15549
}

Semantic roles & 50–950 ramp

primary
#D02757
secondary
#80D2BB
accent
#EBBA3D
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D02757

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

Preview Lab → · Contrast checker → · Palette generator →

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