#CA57AB#CA57AB

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

Color values

HEX#CA57AB
RGBrgb(202, 87, 171)
HSLhsl(316, 52%, 57%)
HSVhsv(316, 57%, 79%)
CMYKcmyk(0%, 56.9%, 15.3%, 20.8%)
CIE-LABlab(54.36, 55.50, -23.09)
CIE-LCHlch(54.36, 60.11, 337.41°)
OKLaboklab(62.93% 0.1637 -0.0621)
OKLCHoklch(62.93% 0.175 339.2)
XYZxyz(35.1166, 22.3161, 40.9781)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57AB #57CA76
analogous
#B057CA #CA57AB #CA5772
triadic
#CA57AB #ABCA57 #57ABCA
tetradic
#CA57AB #CAB057 #57CA76 #5772CA
square
#CA57AB #CAB057 #57CA76 #5772CA
split-complementary
#CA57AB #72CA57 #57CAB0
monochromatic
#7F2867 #AD378D #CA57AB #D986C2 #E7B4DA

Accessibility & contrast

On white

3.84
#CA57AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA57AB#FFFFFF#000000##000000
##CA57AB1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AE
Deuteranopia (green-blind)
#7D89A8
Tritanopia (blue-blind)
#D45A79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca57ab;
/* rgb */ color: rgb(202, 87, 171);
/* oklch */ color: oklch(62.9% 0.175 339.2);
Tailwind
colors: {
  custom: {
    50: '#dd8cc4',
    500: '#ca57ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ab;
$custom-light: #dd8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ab",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 316.174,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62933,
    "c": 0.17506,
    "h": 339.2
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#CA57AB
secondary
#A7D6B4
accent
#DB734C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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