#CD3870#CD3870

#CD3870 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.189 H 2.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CD3870
RGBrgb(205, 56, 112)
HSLhsl(337, 60%, 51%)
HSVhsv(337, 73%, 80%)
CMYKcmyk(0%, 72.7%, 45.4%, 19.6%)
CIE-LABlab(48.24, 61.72, 2.95)
CIE-LCHlch(48.24, 61.79, 2.74°)
OKLaboklab(57.84% 0.1891 0.0083)
OKLCHoklch(57.84% 0.189 2.5)
XYZxyz(29.5180, 16.9812, 17.0494)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3870 #38CD95
analogous
#CD38BA #CD3870 #CD4A38
triadic
#CD3870 #70CD38 #3870CD
tetradic
#CD3870 #BACD38 #38CD95 #4A38CD
square
#CD3870 #BACD38 #38CD95 #4A38CD
split-complementary
#CD3870 #38CD4A #38BACD
monochromatic
#6F1C3B #A02855 #CD3870 #D96993 #E69AB6

Accessibility & contrast

On white

4.78
#CD3870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CD3870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3870
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3870#FFFFFF#000000##FFFFFF
##CD38701.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6071
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#DF1E50
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd3870;
/* rgb */ color: rgb(205, 56, 112);
/* oklch */ color: oklch(57.8% 0.189 2.5);
Tailwind
colors: {
  custom: {
    50: '#e27b98',
    500: '#cd3870',
    950: '#000000',
  },
}
SCSS
$custom: #cd3870;
$custom-light: #e27b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3870",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 337.45,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.18925,
    "h": 2.5
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#CD3870
secondary
#8FD1B9
accent
#E3A845
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD3870

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

Preview Lab → · Contrast checker → · Palette generator →

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