#CD58B7#CD58B7

#CD58B7 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.0% C 0.185 H 335.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD58B7
RGBrgb(205, 88, 183)
HSLhsl(311, 54%, 57%)
HSVhsv(311, 57%, 80%)
CMYKcmyk(0%, 57.1%, 10.7%, 19.6%)
CIE-LABlab(55.46, 57.76, -28.31)
CIE-LCHlch(55.46, 64.32, 333.89°)
OKLaboklab(64% 0.1679 -0.0768)
OKLCHoklch(64% 0.185 335.4)
XYZxyz(37.2141, 23.3803, 47.3434)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58B7 #58CD6E
analogous
#A858CD #CD58B7 #CD587D
triadic
#CD58B7 #B7CD58 #58B7CD
tetradic
#CD58B7 #CDA858 #58CD6E #587DCD
square
#CD58B7 #CDA858 #58CD6E #587DCD
split-complementary
#CD58B7 #7DCD58 #58CDA8
monochromatic
#832772 #B2359B #CD58B7 #DB87CB #E9B6E0

Accessibility & contrast

On white

3.70
#CD58B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD58B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58B7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58B7#FFFFFF#000000##000000
##CD58B71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587ABA
Deuteranopia (green-blind)
#7C8BB4
Tritanopia (blue-blind)
#D65E80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd58b7;
/* rgb */ color: rgb(205, 88, 183);
/* oklch */ color: oklch(64.0% 0.185 335.4);
Tailwind
colors: {
  custom: {
    50: '#df8dcd',
    500: '#cd58b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd58b7;
$custom-light: #df8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58b7",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 311.282,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63995,
    "c": 0.18459,
    "h": 335.4
  },
  "luminance": 0.23377
}

Semantic roles & 50–950 ramp

primary
#CD58B7
secondary
#A9D8B2
accent
#DD664B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D13
muted
#847D82

Preview Lab

Preview with #CD58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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