#CB57AC#CB57AC

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

Color values

HEX#CB57AC
RGBrgb(203, 87, 172)
HSLhsl(316, 53%, 57%)
HSVhsv(316, 57%, 80%)
CMYKcmyk(0%, 57.1%, 15.3%, 20.4%)
CIE-LABlab(54.55, 55.94, -23.37)
CIE-LCHlch(54.55, 60.63, 337.33°)
OKLaboklab(63.11% 0.1649 -0.0629)
OKLCHoklch(63.11% 0.177 339.1)
XYZxyz(35.4838, 22.4943, 41.4947)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57AC #57CB76
analogous
#B057CB #CB57AC #CB5772
triadic
#CB57AC #ACCB57 #57ACCB
tetradic
#CB57AC #CBB057 #57CB76 #5772CB
square
#CB57AC #CBB057 #57CB76 #5772CB
split-complementary
#CB57AC #72CB57 #57CBB0
monochromatic
#802868 #AF368E #CB57AC #D986C3 #E8B4DA

Accessibility & contrast

On white

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

On black

5.50
#CB57AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57AC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57AC#FFFFFF#000000##000000
##CB57AC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AF
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#D55A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb57ac;
/* rgb */ color: rgb(203, 87, 172);
/* oklch */ color: oklch(63.1% 0.177 339.1);
Tailwind
colors: {
  custom: {
    50: '#de8cc5',
    500: '#cb57ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb57ac;
$custom-light: #de8cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57ac",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 316.034,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.17652,
    "h": 339.1
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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