#CB57B7#CB57B7

#CB57B7 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.6% C 0.185 H 334.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CB57B7
RGBrgb(203, 87, 183)
HSLhsl(310, 53%, 57%)
HSVhsv(310, 57%, 80%)
CMYKcmyk(0%, 57.1%, 9.9%, 20.4%)
CIE-LABlab(55.00, 57.65, -29.04)
CIE-LCHlch(55.00, 64.55, 333.27°)
OKLaboklab(63.6% 0.167 -0.0789)
OKLCHoklch(63.6% 0.185 334.7)
XYZxyz(36.5842, 22.9345, 47.2905)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57B7 #57CB6B
analogous
#A557CB #CB57B7 #CB577D
triadic
#CB57B7 #B7CB57 #57B7CB
tetradic
#CB57B7 #CBA557 #57CB6B #577DCB
square
#CB57B7 #CBA557 #57CB6B #577DCB
split-complementary
#CB57B7 #7DCB57 #57CBA5
monochromatic
#802871 #AF369A #CB57B7 #D986CB #E8B4DF

Accessibility & contrast

On white

3.76
#CB57B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CB57B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57B7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57B7#FFFFFF#000000##000000
##CB57B71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5779BA
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#D45E7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb57b7;
/* rgb */ color: rgb(203, 87, 183);
/* oklch */ color: oklch(63.6% 0.185 334.7);
Tailwind
colors: {
  custom: {
    50: '#de8ccd',
    500: '#cb57b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb57b7;
$custom-light: #de8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57b7",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 310.345,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.636,
    "c": 0.18474,
    "h": 334.7
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#CB57B7
secondary
#A7D7AF
accent
#DC654C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CB57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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