#D04870#D04870

#D04870 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.173 H 6.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D04870
RGBrgb(208, 72, 112)
HSLhsl(342, 59%, 55%)
HSVhsv(342, 65%, 82%)
CMYKcmyk(0%, 65.4%, 46.2%, 18.4%)
CIE-LABlab(50.94, 56.58, 6.91)
CIE-LCHlch(50.94, 57.00, 6.96°)
OKLaboklab(59.94% 0.1725 0.0182)
OKLCHoklch(59.94% 0.173 6)
XYZxyz(31.2568, 19.2184, 17.3896)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04870 #48D0A8
analogous
#D048B4 #D04870 #D06448
triadic
#D04870 #70D048 #4870D0
tetradic
#D04870 #B4D048 #48D0A8 #6448D0
square
#D04870 #B4D048 #48D0A8 #6448D0
split-complementary
#D04870 #48D064 #48B4D0
monochromatic
#7D203C #AE2D53 #D04870 #DD7996 #E9A9BC

Accessibility & contrast

On white

4.34
#D04870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#D04870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04870
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04870#FFFFFF#000000##000000
##D048701.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656871
Deuteranopia (green-blind)
#89836D
Tritanopia (blue-blind)
#E23458
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d04870;
/* rgb */ color: rgb(208, 72, 112);
/* oklch */ color: oklch(59.9% 0.173 6.0);
Tailwind
colors: {
  custom: {
    50: '#e48398',
    500: '#d04870',
    950: '#000000',
  },
}
SCSS
$custom: #d04870;
$custom-light: #e48398;
$custom-dark: #000000;
JSON
{
  "hex": "#d04870",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 342.353,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.17345,
    "h": 6
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#D04870
secondary
#9DD7C6
accent
#E2B445
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #D04870

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

Preview Lab → · Contrast checker → · Palette generator →

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