#CD5182#CD5182

#CD5182 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.164 H 358.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD5182
RGBrgb(205, 81, 130)
HSLhsl(336, 55%, 56%)
HSVhsv(336, 60%, 80%)
CMYKcmyk(0%, 60.5%, 36.6%, 19.6%)
CIE-LABlab(52.37, 53.66, -1.87)
CIE-LCHlch(52.37, 53.69, 358.01°)
OKLaboklab(61.08% 0.1638 -0.0042)
OKLCHoklch(61.08% 0.164 358.5)
XYZxyz(32.1504, 20.4792, 23.3745)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5182 #51CD9C
analogous
#CD51C0 #CD5182 #CD5E51
triadic
#CD5182 #82CD51 #5182CD
tetradic
#CD5182 #C0CD51 #51CD9C #5E51CD
square
#CD5182 #C0CD51 #51CD9C #5E51CD
split-complementary
#CD5182 #51CD5E #51C0CD
monochromatic
#7F2548 #AF3263 #CD5182 #DB81A4 #E8B0C6

Accessibility & contrast

On white

4.12
#CD5182 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CD5182 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5182
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5182#FFFFFF#000000##000000
##CD51821.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E83
Deuteranopia (green-blind)
#87867F
Tritanopia (blue-blind)
#DD4664
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5182;
/* rgb */ color: rgb(205, 81, 130);
/* oklch */ color: oklch(61.1% 0.164 358.5);
Tailwind
colors: {
  custom: {
    50: '#e088a6',
    500: '#cd5182',
    950: '#000000',
  },
}
SCSS
$custom: #cd5182;
$custom-light: #e088a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5182",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 336.29,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.16383,
    "h": 358.5
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#CD5182
secondary
#A3D7C2
accent
#DFA449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5182

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

Preview Lab → · Contrast checker → · Palette generator →

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