#CA57A7#CA57A7

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

Color values

HEX#CA57A7
RGBrgb(202, 87, 167)
HSLhsl(318, 52%, 57%)
HSVhsv(318, 57%, 79%)
CMYKcmyk(0%, 56.9%, 17.3%, 20.8%)
CIE-LABlab(54.20, 54.90, -21.00)
CIE-LCHlch(54.20, 58.78, 339.07°)
OKLaboklab(62.76% 0.1628 -0.0563)
OKLCHoklch(62.76% 0.172 340.9)
XYZxyz(34.7411, 22.1659, 39.0004)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57A7 #57CA7A
analogous
#B457CA #CA57A7 #CA576E
triadic
#CA57A7 #A7CA57 #57A7CA
tetradic
#CA57A7 #CAB457 #57CA7A #576ECA
square
#CA57A7 #CAB457 #57CA7A #576ECA
split-complementary
#CA57A7 #6ECA57 #57CAB4
monochromatic
#7F2864 #AD3789 #CA57A7 #D986BF #E7B4D8

Accessibility & contrast

On white

3.87
#CA57A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CA57A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57A7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57A7#FFFFFF#000000##000000
##CA57A71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca57a7;
/* rgb */ color: rgb(202, 87, 167);
/* oklch */ color: oklch(62.8% 0.172 340.9);
Tailwind
colors: {
  custom: {
    50: '#dd8cc1',
    500: '#ca57a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca57a7;
$custom-light: #dd8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57a7",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 318.261,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62764,
    "c": 0.17224,
    "h": 340.9
  },
  "luminance": 0.22163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA57A7

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

Preview Lab → · Contrast checker → · Palette generator →

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