#D02858#D02858

#D02858 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.5% C 0.202 H 10.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D02858
RGBrgb(208, 40, 88)
HSLhsl(343, 68%, 49%)
HSVhsv(343, 81%, 82%)
CMYKcmyk(0%, 80.8%, 57.7%, 18.4%)
CIE-LABlab(46.49, 65.43, 15.32)
CIE-LCHlch(46.49, 67.20, 13.18°)
OKLaboklab(56.46% 0.1981 0.0382)
OKLCHoklch(56.46% 0.202 10.9)
XYZxyz(28.5356, 15.6363, 10.7462)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02858 #28D0A0
analogous
#D028AC #D02858 #D04C28
triadic
#D02858 #58D028 #2858D0
tetradic
#D02858 #ACD028 #28D0A0 #4C28D0
square
#D02858 #ACD028 #28D0A0 #4C28D0
split-complementary
#D02858 #28D04C #28ACD0
monochromatic
#69142D #9D1E42 #D02858 #DF577D #E88AA5

Accessibility & contrast

On white

5.09
#D02858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#D02858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02858
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02858#FFFFFF#000000##FFFFFF
##D028581.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d02858;
/* rgb */ color: rgb(208, 40, 88);
/* oklch */ color: oklch(56.5% 0.202 10.9);
Tailwind
colors: {
  custom: {
    50: '#e67486',
    500: '#d02858',
    950: '#000000',
  },
}
SCSS
$custom: #d02858;
$custom-light: #e67486;
$custom-dark: #000000;
JSON
{
  "hex": "#d02858",
  "rgb": {
    "r": 208,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 342.857,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.20177,
    "h": 10.9
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#D02858
secondary
#82D2BB
accent
#EBB93D
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D02858

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

Preview Lab → · Contrast checker → · Palette generator →

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