#CD58B2#CD58B2

#CD58B2 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.8% C 0.181 H 337.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CD58B2
RGBrgb(205, 88, 178)
HSLhsl(314, 54%, 57%)
HSVhsv(314, 57%, 80%)
CMYKcmyk(0%, 57.1%, 13.2%, 19.6%)
CIE-LABlab(55.25, 56.98, -25.74)
CIE-LCHlch(55.25, 62.52, 335.69°)
OKLaboklab(63.77% 0.1669 -0.0695)
OKLCHoklch(63.77% 0.181 337.4)
XYZxyz(36.7029, 23.1758, 44.6511)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58B2 #58CD73
analogous
#AD58CD #CD58B2 #CD5878
triadic
#CD58B2 #B2CD58 #58B2CD
tetradic
#CD58B2 #CDAD58 #58CD73 #5878CD
square
#CD58B2 #CDAD58 #58CD73 #5878CD
split-complementary
#CD58B2 #78CD58 #58CDAD
monochromatic
#83276E #B23596 #CD58B2 #DB87C8 #E9B6DD

Accessibility & contrast

On white

3.73
#CD58B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CD58B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58B2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58B2#FFFFFF#000000##000000
##CD58B21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#D75D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd58b2;
/* rgb */ color: rgb(205, 88, 178);
/* oklch */ color: oklch(63.8% 0.181 337.4);
Tailwind
colors: {
  custom: {
    50: '#df8dc9',
    500: '#cd58b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd58b2;
$custom-light: #df8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58b2",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 313.846,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.18083,
    "h": 337.4
  },
  "luminance": 0.23173
}

Semantic roles & 50–950 ramp

primary
#CD58B2
secondary
#A9D8B4
accent
#DD6C4B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160D13
muted
#847D82

Preview Lab

Preview with #CD58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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