#CB57AB#CB57AB

#CB57AB is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.1% C 0.176 H 339.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CB57AB
RGBrgb(203, 87, 171)
HSLhsl(317, 53%, 57%)
HSVhsv(317, 57%, 80%)
CMYKcmyk(0%, 57.1%, 15.8%, 20.4%)
CIE-LABlab(54.51, 55.79, -22.85)
CIE-LCHlch(54.51, 60.29, 337.73°)
OKLaboklab(63.07% 0.1647 -0.0614)
OKLCHoklch(63.07% 0.176 339.5)
XYZxyz(35.3881, 22.4561, 40.9908)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57AB #57CB77
analogous
#B157CB #CB57AB #CB5771
triadic
#CB57AB #ABCB57 #57ABCB
tetradic
#CB57AB #CBB157 #57CB77 #5771CB
square
#CB57AB #CBB157 #57CB77 #5771CB
split-complementary
#CB57AB #71CB57 #57CBB1
monochromatic
#802868 #AF368D #CB57AB #D986C2 #E8B4DA

Accessibility & contrast

On white

3.82
#CB57AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CB57AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57AB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57AB#FFFFFF#000000##000000
##CB57AB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AE
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#D65A79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb57ab;
/* rgb */ color: rgb(203, 87, 171);
/* oklch */ color: oklch(63.1% 0.176 339.5);
Tailwind
colors: {
  custom: {
    50: '#de8cc4',
    500: '#cb57ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb57ab;
$custom-light: #de8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57ab",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 316.552,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63071,
    "c": 0.17581,
    "h": 339.5
  },
  "luminance": 0.22453
}

Semantic roles & 50–950 ramp

primary
#CB57AB
secondary
#A7D7B4
accent
#DC744C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #CB57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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