#D04287#D04287

#D04287 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.0% C 0.188 H 354.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D04287
RGBrgb(208, 66, 135)
HSLhsl(331, 60%, 54%)
HSVhsv(331, 68%, 82%)
CMYKcmyk(0%, 68.3%, 35.1%, 18.4%)
CIE-LABlab(50.76, 61.30, -7.20)
CIE-LCHlch(50.76, 61.72, 353.31°)
OKLaboklab(60.03% 0.1876 -0.0182)
OKLCHoklch(60.03% 0.188 354.4)
XYZxyz(32.3357, 19.0593, 24.8929)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04287 #42D08B
analogous
#D042CE #D04287 #D04442
triadic
#D04287 #87D042 #4287D0
tetradic
#D04287 #CED042 #42D08B #4442D0
square
#D04287 #CED042 #42D08B #4442D0
split-complementary
#D04287 #42D044 #42CED0
monochromatic
#791E4B #AA2A69 #D04287 #DC73A6 #E8A4C5

Accessibility & contrast

On white

4.36
#D04287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D04287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04287
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04287#FFFFFF#000000##000000
##D042871.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6889
Deuteranopia (green-blind)
#828284
Tritanopia (blue-blind)
#E0365F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d04287;
/* rgb */ color: rgb(208, 66, 135);
/* oklch */ color: oklch(60.0% 0.188 354.4);
Tailwind
colors: {
  custom: {
    50: '#e380a9',
    500: '#d04287',
    950: '#000000',
  },
}
SCSS
$custom: #d04287;
$custom-light: #e380a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04287",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 330.845,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.18848,
    "h": 354.4
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#D04287
secondary
#99D5B8
accent
#E39644
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D04287

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

Preview Lab → · Contrast checker → · Palette generator →

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