#CD5188#CD5188

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

Color values

HEX#CD5188
RGBrgb(205, 81, 136)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 60.5%, 33.7%, 19.6%)
CIE-LABlab(52.56, 54.36, -5.17)
CIE-LCHlch(52.56, 54.60, 354.57°)
OKLaboklab(61.28% 0.1657 -0.0129)
OKLCHoklch(61.28% 0.166 355.5)
XYZxyz(32.5649, 20.6450, 25.5577)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5188 #51CD96
analogous
#CD51C6 #CD5188 #CD5851
triadic
#CD5188 #88CD51 #5188CD
tetradic
#CD5188 #C6CD51 #51CD96 #5851CD
square
#CD5188 #C6CD51 #51CD96 #5851CD
split-complementary
#CD5188 #51CD58 #51C6CD
monochromatic
#7F254D #AF3269 #CD5188 #DB81A9 #E8B0C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5188#FFFFFF#000000##000000
##CD51881.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)
#656F8A
Deuteranopia (green-blind)
#868685
Tritanopia (blue-blind)
#DC4867
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5188;
/* rgb */ color: rgb(205, 81, 136);
/* oklch */ color: oklch(61.3% 0.166 355.5);
Tailwind
colors: {
  custom: {
    50: '#e088aa',
    500: '#cd5188',
    950: '#000000',
  },
}
SCSS
$custom: #cd5188;
$custom-light: #e088aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5188",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 333.387,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.16622,
    "h": 355.5
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#CD5188
secondary
#A3D7C0
accent
#DF9C49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5188

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

Preview Lab → · Contrast checker → · Palette generator →

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