#CA57B4#CA57B4

#CA57B4 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.182 H 335.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CA57B4
RGBrgb(202, 87, 180)
HSLhsl(311, 52%, 57%)
HSVhsv(311, 57%, 79%)
CMYKcmyk(0%, 56.9%, 10.9%, 20.8%)
CIE-LABlab(54.73, 56.90, -27.74)
CIE-LCHlch(54.73, 63.30, 334.01°)
OKLaboklab(63.33% 0.1654 -0.0752)
OKLCHoklch(63.33% 0.182 335.5)
XYZxyz(36.0038, 22.6709, 45.6508)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57B4 #57CA6D
analogous
#A757CA #CA57B4 #CA577B
triadic
#CA57B4 #B4CA57 #57B4CA
tetradic
#CA57B4 #CAA757 #57CA6D #577BCA
square
#CA57B4 #CAA757 #57CA6D #577BCA
split-complementary
#CA57B4 #7BCA57 #57CAA7
monochromatic
#7F286E #AD3796 #CA57B4 #D986C9 #E7B4DE

Accessibility & contrast

On white

3.79
#CA57B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CA57B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57B4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57B4#FFFFFF#000000##000000
##CA57B41.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B7
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#D35D7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca57b4;
/* rgb */ color: rgb(202, 87, 180);
/* oklch */ color: oklch(63.3% 0.182 335.5);
Tailwind
colors: {
  custom: {
    50: '#dd8cca',
    500: '#ca57b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca57b4;
$custom-light: #dd8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57b4",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 311.478,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.18174,
    "h": 335.5
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#CA57B4
secondary
#A7D6B0
accent
#DB684C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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