#CD5082#CD5082

#CD5082 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.165 H 358.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD5082
RGBrgb(205, 80, 130)
HSLhsl(336, 56%, 56%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 61%, 36.6%, 19.6%)
CIE-LABlab(52.21, 54.10, -2.11)
CIE-LCHlch(52.21, 54.14, 357.77°)
OKLaboklab(60.96% 0.1652 -0.0048)
OKLCHoklch(60.96% 0.165 358.3)
XYZxyz(32.0766, 20.3317, 23.3499)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5082 #50CD9B
analogous
#CD50C0 #CD5082 #CD5C50
triadic
#CD5082 #82CD50 #5082CD
tetradic
#CD5082 #C0CD50 #50CD9B #5C50CD
square
#CD5082 #C0CD50 #50CD9B #5C50CD
split-complementary
#CD5082 #50CD5C #50C0CD
monochromatic
#7E2448 #AE3263 #CD5082 #DB80A4 #E8AFC6

Accessibility & contrast

On white

4.15
#CD5082 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD5082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5082
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5082#FFFFFF#000000##000000
##CD50821.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E83
Deuteranopia (green-blind)
#87857F
Tritanopia (blue-blind)
#DD4564
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5082;
/* rgb */ color: rgb(205, 80, 130);
/* oklch */ color: oklch(61.0% 0.165 358.3);
Tailwind
colors: {
  custom: {
    50: '#e087a6',
    500: '#cd5082',
    950: '#000000',
  },
}
SCSS
$custom: #cd5082;
$custom-light: #e087a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5082",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 336,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.16524,
    "h": 358.3
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#CD5082
secondary
#A2D6C2
accent
#DFA349
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5082

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

Preview Lab → · Contrast checker → · Palette generator →

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