#CA54AB#CA54AB

#CA54AB is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.180 H 339.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CA54AB
RGBrgb(202, 84, 171)
HSLhsl(316, 53%, 56%)
HSVhsv(316, 58%, 79%)
CMYKcmyk(0%, 58.4%, 15.3%, 20.8%)
CIE-LABlab(53.86, 56.86, -23.86)
CIE-LCHlch(53.86, 61.66, 337.23°)
OKLaboklab(62.56% 0.1677 -0.0643)
OKLCHoklch(62.56% 0.18 339)
XYZxyz(34.8787, 21.8403, 40.8988)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54AB #54CA73
analogous
#AE54CA #CA54AB #CA5470
triadic
#CA54AB #ABCA54 #54ABCA
tetradic
#CA54AB #CAAE54 #54CA73 #5470CA
square
#CA54AB #CAAE54 #54CA73 #5470CA
split-complementary
#CA54AB #70CA54 #54CAAE
monochromatic
#7D2766 #AC358C #CA54AB #D883C2 #E7B1D9

Accessibility & contrast

On white

3.91
#CA54AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CA54AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54AB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54AB#FFFFFF#000000##000000
##CA54AB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#7C88A8
Tritanopia (blue-blind)
#D55778
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca54ab;
/* rgb */ color: rgb(202, 84, 171);
/* oklch */ color: oklch(62.6% 0.180 339.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ac4',
    500: '#ca54ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca54ab;
$custom-light: #dd8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54ab",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 315.763,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62562,
    "c": 0.1796,
    "h": 339
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#CA54AB
secondary
#A5D5B1
accent
#DC724C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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