#CD4870#CD4870

#CD4870 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 5.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD4870
RGBrgb(205, 72, 112)
HSLhsl(342, 57%, 54%)
HSVhsv(342, 65%, 80%)
CMYKcmyk(0%, 64.9%, 45.4%, 19.6%)
CIE-LABlab(50.44, 55.65, 6.12)
CIE-LCHlch(50.44, 55.98, 6.27°)
OKLaboklab(59.47% 0.1697 0.0163)
OKLCHoklch(59.47% 0.171 5.5)
XYZxyz(30.4211, 18.7875, 17.3504)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4870 #48CDA5
analogous
#CD48B3 #CD4870 #CD6348
triadic
#CD4870 #70CD48 #4870CD
tetradic
#CD4870 #B3CD48 #48CDA5 #6348CD
square
#CD4870 #B3CD48 #48CDA5 #6348CD
split-complementary
#CD4870 #48CD63 #48B3CD
monochromatic
#79213C #A92E53 #CD4870 #DA7896 #E7A8BB

Accessibility & contrast

On white

4.41
#CD4870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CD4870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4870
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4870#FFFFFF#000000##000000
##CD48701.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646771
Deuteranopia (green-blind)
#87826D
Tritanopia (blue-blind)
#DE3658
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4870;
/* rgb */ color: rgb(205, 72, 112);
/* oklch */ color: oklch(59.5% 0.171 5.5);
Tailwind
colors: {
  custom: {
    50: '#e18298',
    500: '#cd4870',
    950: '#000000',
  },
}
SCSS
$custom: #cd4870;
$custom-light: #e18298;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4870",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 341.955,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.1705,
    "h": 5.5
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#CD4870
secondary
#9CD5C4
accent
#E0B247
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CD4870

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

Preview Lab → · Contrast checker → · Palette generator →

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