#CB57B3#CB57B3

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

Color values

HEX#CB57B3
RGBrgb(203, 87, 179)
HSLhsl(312, 53%, 57%)
HSVhsv(312, 57%, 80%)
CMYKcmyk(0%, 57.1%, 11.8%, 20.4%)
CIE-LABlab(54.83, 57.02, -26.99)
CIE-LCHlch(54.83, 63.09, 334.67°)
OKLaboklab(63.42% 0.1663 -0.0731)
OKLCHoklch(63.42% 0.182 336.3)
XYZxyz(36.1738, 22.7703, 45.1290)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57B3 #57CB6F
analogous
#A957CB #CB57B3 #CB5779
triadic
#CB57B3 #B3CB57 #57B3CB
tetradic
#CB57B3 #CBA957 #57CB6F #5779CB
square
#CB57B3 #CBA957 #57CB6F #5779CB
split-complementary
#CB57B3 #79CB57 #57CBA9
monochromatic
#80286E #AF3696 #CB57B3 #D986C8 #E8B4DD

Accessibility & contrast

On white

3.78
#CB57B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB57B3#FFFFFF#000000##000000
##CB57B31.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B6
Deuteranopia (green-blind)
#7B8AB0
Tritanopia (blue-blind)
#D55D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb57b3;
/* rgb */ color: rgb(203, 87, 179);
/* oklch */ color: oklch(63.4% 0.182 336.3);
Tailwind
colors: {
  custom: {
    50: '#de8cca',
    500: '#cb57b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb57b3;
$custom-light: #de8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57b3",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 312.414,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6342,
    "c": 0.18168,
    "h": 336.3
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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