#CA51AB#CA51AB

#CA51AB is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.184 H 338.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CA51AB
RGBrgb(202, 81, 171)
HSLhsl(315, 53%, 55%)
HSVhsv(315, 60%, 79%)
CMYKcmyk(0%, 59.9%, 15.3%, 20.8%)
CIE-LABlab(53.37, 58.19, -24.62)
CIE-LCHlch(53.37, 63.18, 337.07°)
OKLaboklab(62.2% 0.1717 -0.0664)
OKLCHoklch(62.2% 0.184 338.9)
XYZxyz(34.6508, 21.3846, 40.8228)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51AB #51CA70
analogous
#AC51CA #CA51AB #CA516E
triadic
#CA51AB #ABCA51 #51ABCA
tetradic
#CA51AB #CAAC51 #51CA70 #516ECA
square
#CA51AB #CAAC51 #51CA70 #516ECA
split-complementary
#CA51AB #6ECA51 #51CAAC
monochromatic
#7B2565 #AA348C #CA51AB #D880C2 #E7AFD8

Accessibility & contrast

On white

3.98
#CA51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CA51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51AB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51AB#FFFFFF#000000##000000
##CA51AB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AE
Deuteranopia (green-blind)
#7A86A8
Tritanopia (blue-blind)
#D55577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca51ab;
/* rgb */ color: rgb(202, 81, 171);
/* oklch */ color: oklch(62.2% 0.184 338.9);
Tailwind
colors: {
  custom: {
    50: '#dd88c4',
    500: '#ca51ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca51ab;
$custom-light: #dd88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51ab",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 315.372,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.18405,
    "h": 338.9
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#CA51AB
secondary
#A2D5AF
accent
#DD704B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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