#D02867#D02867

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

Color values

HEX#D02867
RGBrgb(208, 40, 103)
HSLhsl(338, 68%, 49%)
HSVhsv(338, 81%, 82%)
CMYKcmyk(0%, 80.8%, 50.5%, 18.4%)
CIE-LABlab(46.86, 66.53, 6.57)
CIE-LCHlch(46.86, 66.85, 5.64°)
OKLaboklab(56.85% 0.2037 0.0173)
OKLCHoklch(56.85% 0.204 4.9)
XYZxyz(29.2221, 15.9109, 14.3617)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02867 #28D091
analogous
#D028BB #D02867 #D03D28
triadic
#D02867 #67D028 #2867D0
tetradic
#D02867 #BBD028 #28D091 #3D28D0
square
#D02867 #BBD028 #28D091 #3D28D0
split-complementary
#D02867 #28D03D #28BBD0
monochromatic
#691434 #9D1E4E #D02867 #DF578A #E88AAD

Accessibility & contrast

On white

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

On black

4.18
#D02867 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D02867#FFFFFF#000000##FFFFFF
##D028671.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d02867;
/* rgb */ color: rgb(208, 40, 103);
/* oklch */ color: oklch(56.8% 0.204 4.9);
Tailwind
colors: {
  custom: {
    50: '#e57592',
    500: '#d02867',
    950: '#000000',
  },
}
SCSS
$custom: #d02867;
$custom-light: #e57592;
$custom-dark: #000000;
JSON
{
  "hex": "#d02867",
  "rgb": {
    "r": 208,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 337.5,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.20438,
    "h": 4.9
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#D02867
secondary
#82D2B4
accent
#EBAA3D
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #D02867

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

Preview Lab → · Contrast checker → · Palette generator →

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