#D02865#D02865

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

Color values

HEX#D02865
RGBrgb(208, 40, 101)
HSLhsl(338, 68%, 49%)
HSVhsv(338, 81%, 82%)
CMYKcmyk(0%, 80.8%, 51.4%, 18.4%)
CIE-LABlab(46.81, 66.37, 7.73)
CIE-LCHlch(46.81, 66.82, 6.64°)
OKLaboklab(56.79% 0.2029 0.0202)
OKLCHoklch(56.79% 0.204 5.7)
XYZxyz(29.1229, 15.8712, 13.8393)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02865 #28D093
analogous
#D028B9 #D02865 #D03F28
triadic
#D02865 #65D028 #2865D0
tetradic
#D02865 #B9D028 #28D093 #3F28D0
square
#D02865 #B9D028 #28D093 #3F28D0
split-complementary
#D02865 #28D03F #28B9D0
monochromatic
#691433 #9D1E4C #D02865 #DF5788 #E88AAC

Accessibility & contrast

On white

5.03
#D02865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#D02865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02865
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02865#FFFFFF#000000##FFFFFF
##D028651.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555A66
Deuteranopia (green-blind)
#817B61
Tritanopia (blue-blind)
#E30044
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02865;
/* rgb */ color: rgb(208, 40, 101);
/* oklch */ color: oklch(56.8% 0.204 5.7);
Tailwind
colors: {
  custom: {
    50: '#e57490',
    500: '#d02865',
    950: '#000000',
  },
}
SCSS
$custom: #d02865;
$custom-light: #e57490;
$custom-dark: #000000;
JSON
{
  "hex": "#d02865",
  "rgb": {
    "r": 208,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 338.214,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.20394,
    "h": 5.7
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#D02865
secondary
#82D2B5
accent
#EBAC3D
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #D02865

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

Preview Lab → · Contrast checker → · Palette generator →

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