#CD4871#CD4871

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

Color values

HEX#CD4871
RGBrgb(205, 72, 113)
HSLhsl(342, 57%, 54%)
HSVhsv(342, 65%, 80%)
CMYKcmyk(0%, 64.9%, 44.9%, 19.6%)
CIE-LABlab(50.46, 55.75, 5.55)
CIE-LCHlch(50.46, 56.02, 5.69°)
OKLaboklab(59.5% 0.1701 0.0149)
OKLCHoklch(59.5% 0.171 5)
XYZxyz(30.4771, 18.8098, 17.6453)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4871 #48CDA4
analogous
#CD48B4 #CD4871 #CD6248
triadic
#CD4871 #71CD48 #4871CD
tetradic
#CD4871 #B4CD48 #48CDA4 #6248CD
square
#CD4871 #B4CD48 #48CDA4 #6248CD
split-complementary
#CD4871 #48CD62 #48B4CD
monochromatic
#79213C #A92E54 #CD4871 #DA7896 #E7A8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4871#FFFFFF#000000##000000
##CD48711.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)
#646872
Deuteranopia (green-blind)
#87826E
Tritanopia (blue-blind)
#DE3658
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4871;
/* rgb */ color: rgb(205, 72, 113);
/* oklch */ color: oklch(59.5% 0.171 5.0);
Tailwind
colors: {
  custom: {
    50: '#e18299',
    500: '#cd4871',
    950: '#000000',
  },
}
SCSS
$custom: #cd4871;
$custom-light: #e18299;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4871",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 341.504,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.17073,
    "h": 5
  },
  "luminance": 0.18806
}

Semantic roles & 50–950 ramp

primary
#CD4871
secondary
#9CD5C3
accent
#E0B147
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CD4871

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

Preview Lab → · Contrast checker → · Palette generator →

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