#CB57B2#CB57B2

#CB57B2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.4% C 0.181 H 336.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CB57B2
RGBrgb(203, 87, 178)
HSLhsl(313, 53%, 57%)
HSVhsv(313, 57%, 80%)
CMYKcmyk(0%, 57.1%, 12.3%, 20.4%)
CIE-LABlab(54.79, 56.87, -26.47)
CIE-LCHlch(54.79, 62.73, 335.04°)
OKLaboklab(63.38% 0.1661 -0.0716)
OKLCHoklch(63.38% 0.181 336.7)
XYZxyz(36.0730, 22.7300, 44.5983)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57B2 #57CB70
analogous
#AA57CB #CB57B2 #CB5778
triadic
#CB57B2 #B2CB57 #57B2CB
tetradic
#CB57B2 #CBAA57 #57CB70 #5778CB
square
#CB57B2 #CBAA57 #57CB70 #5778CB
split-complementary
#CB57B2 #78CB57 #57CBAA
monochromatic
#80286D #AF3695 #CB57B2 #D986C7 #E8B4DD

Accessibility & contrast

On white

3.79
#CB57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CB57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57B2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57B2#FFFFFF#000000##000000
##CB57B21.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#D55C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb57b2;
/* rgb */ color: rgb(203, 87, 178);
/* oklch */ color: oklch(63.4% 0.181 336.7);
Tailwind
colors: {
  custom: {
    50: '#de8cc9',
    500: '#cb57b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb57b2;
$custom-light: #de8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57b2",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 312.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.18092,
    "h": 336.7
  },
  "luminance": 0.22727
}

Semantic roles & 50–950 ramp

primary
#CB57B2
secondary
#A7D7B1
accent
#DC6B4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CB57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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