#CB57A4#CB57A4

#CB57A4 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.8% C 0.171 H 342.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CB57A4
RGBrgb(203, 87, 164)
HSLhsl(320, 53%, 57%)
HSVhsv(320, 57%, 80%)
CMYKcmyk(0%, 57.1%, 19.2%, 20.4%)
CIE-LABlab(54.23, 54.75, -19.18)
CIE-LCHlch(54.23, 58.02, 340.69°)
OKLaboklab(62.78% 0.1632 -0.0512)
OKLCHoklch(62.78% 0.171 342.6)
XYZxyz(34.7385, 22.1962, 37.5695)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57A4 #57CB7E
analogous
#B857CB #CB57A4 #CB576A
triadic
#CB57A4 #A4CB57 #57A4CB
tetradic
#CB57A4 #CBB857 #57CB7E #576ACB
square
#CB57A4 #CBB857 #57CB7E #576ACB
split-complementary
#CB57A4 #6ACB57 #57CBB8
monochromatic
#802862 #AF3686 #CB57A4 #D986BD #E8B4D7

Accessibility & contrast

On white

3.86
#CB57A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CB57A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57A4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57A4#FFFFFF#000000##000000
##CB57A41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A6
Deuteranopia (green-blind)
#8089A1
Tritanopia (blue-blind)
#D75876
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb57a4;
/* rgb */ color: rgb(203, 87, 164);
/* oklch */ color: oklch(62.8% 0.171 342.6);
Tailwind
colors: {
  custom: {
    50: '#de8cbf',
    500: '#cb57a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb57a4;
$custom-light: #de8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57a4",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 320.172,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.17099,
    "h": 342.6
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#CB57A4
secondary
#A7D7B7
accent
#DC7C4C
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CB57A4

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

Preview Lab → · Contrast checker → · Palette generator →

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