#CD5189#CD5189

#CD5189 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.167 H 355.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CD5189
RGBrgb(205, 81, 137)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 60.5%, 33.2%, 19.6%)
CIE-LABlab(52.59, 54.48, -5.71)
CIE-LCHlch(52.59, 54.78, 354.01°)
OKLaboklab(61.31% 0.166 -0.0144)
OKLCHoklch(61.31% 0.167 355.1)
XYZxyz(32.6363, 20.6736, 25.9337)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5189 #51CD95
analogous
#CD51C7 #CD5189 #CD5751
triadic
#CD5189 #89CD51 #5189CD
tetradic
#CD5189 #C7CD51 #51CD95 #5751CD
square
#CD5189 #C7CD51 #51CD95 #5751CD
split-complementary
#CD5189 #51CD57 #51C7CD
monochromatic
#7F254D #AF326A #CD5189 #DB81A9 #E8B0C9

Accessibility & contrast

On white

4.09
#CD5189 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CD5189 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5189
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5189#FFFFFF#000000##000000
##CD51891.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#868686
Tritanopia (blue-blind)
#DC4867
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5189;
/* rgb */ color: rgb(205, 81, 137);
/* oklch */ color: oklch(61.3% 0.167 355.1);
Tailwind
colors: {
  custom: {
    50: '#e088ab',
    500: '#cd5189',
    950: '#000000',
  },
}
SCSS
$custom: #cd5189;
$custom-light: #e088ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5189",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 332.903,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.16666,
    "h": 355.1
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

primary
#CD5189
secondary
#A3D7BF
accent
#DF9B49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5189

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

Preview Lab → · Contrast checker → · Palette generator →

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