#CA57A8#CA57A8

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

Color values

HEX#CA57A8
RGBrgb(202, 87, 168)
HSLhsl(318, 52%, 57%)
HSVhsv(318, 57%, 79%)
CMYKcmyk(0%, 56.9%, 16.8%, 20.8%)
CIE-LABlab(54.24, 55.05, -21.52)
CIE-LCHlch(54.24, 59.11, 338.65°)
OKLaboklab(62.81% 0.163 -0.0577)
OKLCHoklch(62.81% 0.173 340.5)
XYZxyz(34.8339, 22.2030, 39.4892)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57A8 #57CA79
analogous
#B357CA #CA57A8 #CA576F
triadic
#CA57A8 #A8CA57 #57A8CA
tetradic
#CA57A8 #CAB357 #57CA79 #576FCA
square
#CA57A8 #CAB357 #57CA79 #576FCA
split-complementary
#CA57A8 #6FCA57 #57CAB3
monochromatic
#7F2865 #AD378A #CA57A8 #D986C0 #E7B4D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA57A8#FFFFFF#000000##000000
##CA57A81.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)
#5D76AB
Deuteranopia (green-blind)
#7E88A5
Tritanopia (blue-blind)
#D55978
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca57a8;
/* rgb */ color: rgb(202, 87, 168);
/* oklch */ color: oklch(62.8% 0.173 340.5);
Tailwind
colors: {
  custom: {
    50: '#dd8cc2',
    500: '#ca57a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca57a8;
$custom-light: #dd8cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57a8",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 317.739,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.17294,
    "h": 340.5
  },
  "luminance": 0.222
}

Semantic roles & 50–950 ramp

primary
#CA57A8
secondary
#A7D6B5
accent
#DB774C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA57A8

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

Preview Lab → · Contrast checker → · Palette generator →

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