#CA57B2#CA57B2

#CA57B2 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.2% C 0.180 H 336.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CA57B2
RGBrgb(202, 87, 178)
HSLhsl(313, 52%, 57%)
HSVhsv(313, 57%, 79%)
CMYKcmyk(0%, 56.9%, 11.9%, 20.8%)
CIE-LABlab(54.65, 56.58, -26.71)
CIE-LCHlch(54.65, 62.57, 334.73°)
OKLaboklab(63.24% 0.1651 -0.0723)
OKLCHoklch(63.24% 0.18 336.3)
XYZxyz(35.8015, 22.5900, 44.5855)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57B2 #57CA6F
analogous
#A957CA #CA57B2 #CA5779
triadic
#CA57B2 #B2CA57 #57B2CA
tetradic
#CA57B2 #CAA957 #57CA6F #5779CA
square
#CA57B2 #CAA957 #57CA6F #5779CA
split-complementary
#CA57B2 #79CA57 #57CAA9
monochromatic
#7F286D #AD3794 #CA57B2 #D986C7 #E7B4DD

Accessibility & contrast

On white

3.81
#CA57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CA57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57B2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57B2#FFFFFF#000000##000000
##CA57B21.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#D35C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca57b2;
/* rgb */ color: rgb(202, 87, 178);
/* oklch */ color: oklch(63.2% 0.180 336.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cc9',
    500: '#ca57b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca57b2;
$custom-light: #dd8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57b2",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 312.522,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63238,
    "c": 0.18021,
    "h": 336.3
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#CA57B2
secondary
#A7D6B1
accent
#DB6A4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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