#CA51AD#CA51AD

#CA51AD is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.185 H 338.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CA51AD
RGBrgb(202, 81, 173)
HSLhsl(314, 53%, 55%)
HSVhsv(314, 60%, 79%)
CMYKcmyk(0%, 59.9%, 14.4%, 20.8%)
CIE-LABlab(53.45, 58.49, -25.65)
CIE-LCHlch(53.45, 63.87, 336.32°)
OKLaboklab(62.29% 0.1721 -0.0693)
OKLCHoklch(62.29% 0.185 338.1)
XYZxyz(34.8429, 21.4614, 41.8344)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51AD #51CA6E
analogous
#AA51CA #CA51AD #CA5170
triadic
#CA51AD #ADCA51 #51ADCA
tetradic
#CA51AD #CAAA51 #51CA6E #5170CA
square
#CA51AD #CAAA51 #51CA6E #5170CA
split-complementary
#CA51AD #70CA51 #51CAAA
monochromatic
#7B2567 #AA348E #CA51AD #D880C3 #E7AFD9

Accessibility & contrast

On white

3.97
#CA51AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CA51AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51AD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51AD#FFFFFF#000000##000000
##CA51AD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5574B0
Deuteranopia (green-blind)
#7987AA
Tritanopia (blue-blind)
#D45678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca51ad;
/* rgb */ color: rgb(202, 81, 173);
/* oklch */ color: oklch(62.3% 0.185 338.1);
Tailwind
colors: {
  custom: {
    50: '#dd88c5',
    500: '#ca51ad',
    950: '#000000',
  },
}
SCSS
$custom: #ca51ad;
$custom-light: #dd88c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51ad",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 314.38,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6229,
    "c": 0.18548,
    "h": 338.1
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#CA51AD
secondary
#A2D5AE
accent
#DD6E4B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA51AD

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

Preview Lab → · Contrast checker → · Palette generator →

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