#CD58B6#CD58B6

#CD58B6 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.9% C 0.184 H 335.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CD58B6
RGBrgb(205, 88, 182)
HSLhsl(312, 54%, 57%)
HSVhsv(312, 57%, 80%)
CMYKcmyk(0%, 57.1%, 11.2%, 19.6%)
CIE-LABlab(55.42, 57.60, -27.80)
CIE-LCHlch(55.42, 63.96, 334.24°)
OKLaboklab(63.95% 0.1677 -0.0754)
OKLCHoklch(63.95% 0.184 335.8)
XYZxyz(37.1103, 23.3388, 46.7972)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58B6 #58CD6F
analogous
#AA58CD #CD58B6 #CD587B
triadic
#CD58B6 #B6CD58 #58B6CD
tetradic
#CD58B6 #CDAA58 #58CD6F #587BCD
square
#CD58B6 #CDAA58 #58CD6F #587BCD
split-complementary
#CD58B6 #7BCD58 #58CDAA
monochromatic
#832771 #B2359A #CD58B6 #DB87CB #E9B6DF

Accessibility & contrast

On white

3.71
#CD58B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CD58B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58B6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58B6#FFFFFF#000000##000000
##CD58B61.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#597AB9
Deuteranopia (green-blind)
#7C8BB3
Tritanopia (blue-blind)
#D65E7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd58b6;
/* rgb */ color: rgb(205, 88, 182);
/* oklch */ color: oklch(63.9% 0.184 335.8);
Tailwind
colors: {
  custom: {
    50: '#df8dcc',
    500: '#cd58b6',
    950: '#000000',
  },
}
SCSS
$custom: #cd58b6;
$custom-light: #df8dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58b6",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 182
  },
  "hsl": {
    "h": 311.795,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6395,
    "c": 0.18383,
    "h": 335.8
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#CD58B6
secondary
#A9D8B2
accent
#DD674B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160D13
muted
#847D82

Preview Lab

Preview with #CD58B6

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

Preview Lab → · Contrast checker → · Palette generator →

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