#CB57B4#CB57B4

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

Color values

HEX#CB57B4
RGBrgb(203, 87, 180)
HSLhsl(312, 53%, 57%)
HSVhsv(312, 57%, 80%)
CMYKcmyk(0%, 57.1%, 11.3%, 20.4%)
CIE-LABlab(54.88, 57.18, -27.50)
CIE-LCHlch(54.88, 63.45, 334.31°)
OKLaboklab(63.46% 0.1665 -0.0746)
OKLCHoklch(63.46% 0.182 335.9)
XYZxyz(36.2753, 22.8109, 45.6635)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57B4 #57CB6E
analogous
#A857CB #CB57B4 #CB577A
triadic
#CB57B4 #B4CB57 #57B4CB
tetradic
#CB57B4 #CBA857 #57CB6E #577ACB
square
#CB57B4 #CBA857 #57CB6E #577ACB
split-complementary
#CB57B4 #7ACB57 #57CBA8
monochromatic
#80286E #AF3697 #CB57B4 #D986C9 #E8B4DE

Accessibility & contrast

On white

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

On black

5.56
#CB57B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57B4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57B4#FFFFFF#000000##000000
##CB57B41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B7
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#D45D7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb57b4;
/* rgb */ color: rgb(203, 87, 180);
/* oklch */ color: oklch(63.5% 0.182 335.9);
Tailwind
colors: {
  custom: {
    50: '#de8cca',
    500: '#cb57b4',
    950: '#000000',
  },
}
SCSS
$custom: #cb57b4;
$custom-light: #de8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57b4",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 311.897,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63464,
    "c": 0.18243,
    "h": 335.9
  },
  "luminance": 0.22808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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