#CB58B2#CB58B2

#CB58B2 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.5% C 0.179 H 336.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CB58B2
RGBrgb(203, 88, 178)
HSLhsl(313, 53%, 57%)
HSVhsv(313, 57%, 80%)
CMYKcmyk(0%, 56.7%, 12.3%, 20.4%)
CIE-LABlab(54.96, 56.41, -26.21)
CIE-LCHlch(54.96, 62.20, 335.08°)
OKLaboklab(63.5% 0.1648 -0.0709)
OKLCHoklch(63.5% 0.179 336.7)
XYZxyz(36.1546, 22.8931, 44.6254)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58B2 #58CB71
analogous
#AA58CB #CB58B2 #CB5879
triadic
#CB58B2 #B2CB58 #58B2CB
tetradic
#CB58B2 #CBAA58 #58CB71 #5879CB
square
#CB58B2 #CBAA58 #58CB71 #5879CB
split-complementary
#CB58B2 #79CB58 #58CBAA
monochromatic
#81286D #AF3795 #CB58B2 #DA87C8 #E8B5DD

Accessibility & contrast

On white

3.76
#CB58B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CB58B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58B2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58B2#FFFFFF#000000##000000
##CB58B21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#D55D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb58b2;
/* rgb */ color: rgb(203, 88, 178);
/* oklch */ color: oklch(63.5% 0.179 336.7);
Tailwind
colors: {
  custom: {
    50: '#de8dc9',
    500: '#cb58b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb58b2;
$custom-light: #de8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58b2",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 313.043,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63499,
    "c": 0.1794,
    "h": 336.7
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#CB58B2
secondary
#A8D7B2
accent
#DC6B4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150D13
muted
#837D82

Preview Lab

Preview with #CB58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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