#CA54AF#CA54AF

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

Color values

HEX#CA54AF
RGBrgb(202, 84, 175)
HSLhsl(314, 53%, 56%)
HSVhsv(314, 58%, 79%)
CMYKcmyk(0%, 58.4%, 13.4%, 20.8%)
CIE-LABlab(54.02, 57.47, -25.94)
CIE-LCHlch(54.02, 63.05, 335.71°)
OKLaboklab(62.74% 0.1685 -0.0701)
OKLCHoklch(62.74% 0.182 337.4)
XYZxyz(35.2657, 21.9952, 42.9372)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54AF #54CA6F
analogous
#AA54CA #CA54AF #CA5474
triadic
#CA54AF #AFCA54 #54AFCA
tetradic
#CA54AF #CAAA54 #54CA6F #5474CA
square
#CA54AF #CAAA54 #54CA6F #5474CA
split-complementary
#CA54AF #74CA54 #54CAAA
monochromatic
#7D2769 #AC3591 #CA54AF #D883C5 #E7B1DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA54AF#FFFFFF#000000##000000
##CA54AF1.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)
#5776B2
Deuteranopia (green-blind)
#7A88AC
Tritanopia (blue-blind)
#D4597A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca54af;
/* rgb */ color: rgb(202, 84, 175);
/* oklch */ color: oklch(62.7% 0.182 337.4);
Tailwind
colors: {
  custom: {
    50: '#dd8ac7',
    500: '#ca54af',
    950: '#000000',
  },
}
SCSS
$custom: #ca54af;
$custom-light: #dd8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54af",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 313.729,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62737,
    "c": 0.18249,
    "h": 337.4
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#CA54AF
secondary
#A5D5B0
accent
#DC6D4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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