#CD3874#CD3874

#CD3874 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 0.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD3874
RGBrgb(205, 56, 116)
HSLhsl(336, 60%, 51%)
HSVhsv(336, 73%, 80%)
CMYKcmyk(0%, 72.7%, 43.4%, 19.6%)
CIE-LABlab(48.35, 62.09, 0.68)
CIE-LCHlch(48.35, 62.10, 0.63°)
OKLaboklab(57.97% 0.1904 0.0025)
OKLCHoklch(57.97% 0.19 0.7)
XYZxyz(29.7457, 17.0723, 18.2485)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3874 #38CD91
analogous
#CD38BE #CD3874 #CD4638
triadic
#CD3874 #74CD38 #3874CD
tetradic
#CD3874 #BECD38 #38CD91 #4638CD
square
#CD3874 #BECD38 #38CD91 #4638CD
split-complementary
#CD3874 #38CD46 #38BECD
monochromatic
#6F1C3D #A02858 #CD3874 #D96996 #E69AB8

Accessibility & contrast

On white

4.76
#CD3874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CD3874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3874
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3874#FFFFFF#000000##FFFFFF
##CD38741.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596175
Deuteranopia (green-blind)
#817D71
Tritanopia (blue-blind)
#DE2051
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3874;
/* rgb */ color: rgb(205, 56, 116);
/* oklch */ color: oklch(58.0% 0.190 0.7);
Tailwind
colors: {
  custom: {
    50: '#e27b9b',
    500: '#cd3874',
    950: '#000000',
  },
}
SCSS
$custom: #cd3874;
$custom-light: #e27b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3874",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 335.839,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.19045,
    "h": 0.7
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#CD3874
secondary
#8FD1B7
accent
#E3A345
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3874

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

Preview Lab → · Contrast checker → · Palette generator →

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