#CD5181#CD5181

#CD5181 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.163 H 359.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD5181
RGBrgb(205, 81, 129)
HSLhsl(337, 55%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60.5%, 37.1%, 19.6%)
CIE-LABlab(52.34, 53.55, -1.31)
CIE-LCHlch(52.34, 53.56, 358.59°)
OKLaboklab(61.05% 0.1635 -0.0028)
OKLCHoklch(61.05% 0.163 359)
XYZxyz(32.0836, 20.4525, 23.0227)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5181 #51CD9D
analogous
#CD51BF #CD5181 #CD5F51
triadic
#CD5181 #81CD51 #5181CD
tetradic
#CD5181 #BFCD51 #51CD9D #5F51CD
square
#CD5181 #BFCD51 #51CD9D #5F51CD
split-complementary
#CD5181 #51CD5F #51BFCD
monochromatic
#7F2548 #AF3262 #CD5181 #DB81A3 #E8B0C6

Accessibility & contrast

On white

4.13
#CD5181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CD5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5181
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5181#FFFFFF#000000##000000
##CD51811.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E82
Deuteranopia (green-blind)
#88867E
Tritanopia (blue-blind)
#DD4664
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5181;
/* rgb */ color: rgb(205, 81, 129);
/* oklch */ color: oklch(61.0% 0.163 359.0);
Tailwind
colors: {
  custom: {
    50: '#e088a5',
    500: '#cd5181',
    950: '#000000',
  },
}
SCSS
$custom: #cd5181;
$custom-light: #e088a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5181",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 336.774,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61048,
    "c": 0.16347,
    "h": 359
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#CD5181
secondary
#A3D7C3
accent
#DFA549
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5181

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

Preview Lab → · Contrast checker → · Palette generator →

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