#CD4781#CD4781

#CD4781 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.177 H 357.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD4781
RGBrgb(205, 71, 129)
HSLhsl(334, 57%, 54%)
HSVhsv(334, 65%, 80%)
CMYKcmyk(0%, 65.4%, 37.1%, 19.6%)
CIE-LABlab(50.77, 57.81, -3.63)
CIE-LCHlch(50.77, 57.92, 356.41°)
OKLaboklab(59.88% 0.1768 -0.0088)
OKLCHoklch(59.88% 0.177 357.2)
XYZxyz(31.3944, 19.0742, 22.7930)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4781 #47CD93
analogous
#CD47C4 #CD4781 #CD5047
triadic
#CD4781 #81CD47 #4781CD
tetradic
#CD4781 #C4CD47 #47CD93 #5047CD
square
#CD4781 #C4CD47 #47CD93 #5047CD
split-complementary
#CD4781 #47CD50 #47C4CD
monochromatic
#792147 #A92E63 #CD4781 #DA77A2 #E7A7C3

Accessibility & contrast

On white

4.36
#CD4781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CD4781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4781
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4781#FFFFFF#000000##000000
##CD47811.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6983
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#DD3B5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4781;
/* rgb */ color: rgb(205, 71, 129);
/* oklch */ color: oklch(59.9% 0.177 357.2);
Tailwind
colors: {
  custom: {
    50: '#e182a5',
    500: '#cd4781',
    950: '#000000',
  },
}
SCSS
$custom: #cd4781;
$custom-light: #e182a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4781",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 334.03,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.17705,
    "h": 357.2
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#CD4781
secondary
#9BD4BC
accent
#E19E47
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD4781

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

Preview Lab → · Contrast checker → · Palette generator →

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