#D02868#D02868

#D02868 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.9% C 0.205 H 4.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D02868
RGBrgb(208, 40, 104)
HSLhsl(337, 68%, 49%)
HSVhsv(337, 81%, 82%)
CMYKcmyk(0%, 80.8%, 50%, 18.4%)
CIE-LABlab(46.88, 66.61, 5.99)
CIE-LCHlch(46.88, 66.88, 5.14°)
OKLaboklab(56.88% 0.204 0.0159)
OKLCHoklch(56.88% 0.205 4.5)
XYZxyz(29.2725, 15.9311, 14.6276)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02868 #28D090
analogous
#D028BC #D02868 #D03C28
triadic
#D02868 #68D028 #2868D0
tetradic
#D02868 #BCD028 #28D090 #3C28D0
square
#D02868 #BCD028 #28D090 #3C28D0
split-complementary
#D02868 #28D03C #28BCD0
monochromatic
#691435 #9D1E4E #D02868 #DF578A #E88AAE

Accessibility & contrast

On white

5.02
#D02868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#D02868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02868
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02868#FFFFFF#000000##FFFFFF
##D028681.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555A69
Deuteranopia (green-blind)
#817B64
Tritanopia (blue-blind)
#E30045
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02868;
/* rgb */ color: rgb(208, 40, 104);
/* oklch */ color: oklch(56.9% 0.205 4.5);
Tailwind
colors: {
  custom: {
    50: '#e57592',
    500: '#d02868',
    950: '#000000',
  },
}
SCSS
$custom: #d02868;
$custom-light: #e57592;
$custom-dark: #000000;
JSON
{
  "hex": "#d02868",
  "rgb": {
    "r": 208,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 337.143,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.20463,
    "h": 4.5
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#D02868
secondary
#82D2B4
accent
#EBA93D
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#17090D
muted
#857B7D

Preview Lab

Preview with #D02868

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

Preview Lab → · Contrast checker → · Palette generator →

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