#CB57A7#CB57A7

#CB57A7 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.9% C 0.173 H 341.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CB57A7
RGBrgb(203, 87, 167)
HSLhsl(319, 53%, 57%)
HSVhsv(319, 57%, 80%)
CMYKcmyk(0%, 57.1%, 17.7%, 20.4%)
CIE-LABlab(54.35, 55.19, -20.76)
CIE-LCHlch(54.35, 58.97, 339.39°)
OKLaboklab(62.9% 0.1639 -0.0556)
OKLCHoklch(62.9% 0.173 341.3)
XYZxyz(35.0126, 22.3059, 39.0132)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57A7 #57CB7B
analogous
#B557CB #CB57A7 #CB576D
triadic
#CB57A7 #A7CB57 #57A7CB
tetradic
#CB57A7 #CBB557 #57CB7B #576DCB
square
#CB57A7 #CBB557 #57CB7B #576DCB
split-complementary
#CB57A7 #6DCB57 #57CBB5
monochromatic
#802865 #AF3689 #CB57A7 #D986BF #E8B4D8

Accessibility & contrast

On white

3.85
#CB57A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CB57A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57A7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57A7#FFFFFF#000000##000000
##CB57A71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76AA
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#D65978
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb57a7;
/* rgb */ color: rgb(203, 87, 167);
/* oklch */ color: oklch(62.9% 0.173 341.3);
Tailwind
colors: {
  custom: {
    50: '#de8cc1',
    500: '#cb57a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb57a7;
$custom-light: #de8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57a7",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 318.621,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.17302,
    "h": 341.3
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#CB57A7
secondary
#A7D7B6
accent
#DC784C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CB57A7

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

Preview Lab → · Contrast checker → · Palette generator →

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