#CA57A2#CA57A2

#CA57A2 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.6% C 0.169 H 343.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CA57A2
RGBrgb(202, 87, 162)
HSLhsl(321, 52%, 57%)
HSVhsv(321, 57%, 79%)
CMYKcmyk(0%, 56.9%, 19.8%, 20.8%)
CIE-LABlab(54.01, 54.16, -18.37)
CIE-LCHlch(54.01, 57.19, 341.27°)
OKLaboklab(62.56% 0.1616 -0.0489)
OKLCHoklch(62.56% 0.169 343.2)
XYZxyz(34.2877, 21.9845, 36.6130)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57A2 #57CA7F
analogous
#B957CA #CA57A2 #CA5769
triadic
#CA57A2 #A2CA57 #57A2CA
tetradic
#CA57A2 #CAB957 #57CA7F #5769CA
square
#CA57A2 #CAB957 #57CA7F #5769CA
split-complementary
#CA57A2 #69CA57 #57CAB9
monochromatic
#7F2860 #AD3784 #CA57A2 #D986BC #E7B4D6

Accessibility & contrast

On white

3.89
#CA57A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CA57A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57A2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57A2#FFFFFF#000000##000000
##CA57A21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#D65775
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca57a2;
/* rgb */ color: rgb(202, 87, 162);
/* oklch */ color: oklch(62.6% 0.169 343.2);
Tailwind
colors: {
  custom: {
    50: '#dd8cbd',
    500: '#ca57a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca57a2;
$custom-light: #dd8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57a2",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 320.87,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62559,
    "c": 0.16886,
    "h": 343.2
  },
  "luminance": 0.21982
}

Semantic roles & 50–950 ramp

primary
#CA57A2
secondary
#A7D6B7
accent
#DB7E4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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