#CA27AA#CA27AA

#CA27AA is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.4% C 0.232 H 337.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA27AA
RGBrgb(202, 39, 170)
HSLhsl(312, 68%, 47%)
HSVhsv(312, 81%, 79%)
CMYKcmyk(0%, 80.7%, 15.8%, 20.8%)
CIE-LABlab(48.15, 72.55, -32.14)
CIE-LCHlch(48.15, 79.35, 336.11°)
OKLaboklab(58.4% 0.215 -0.0874)
OKLCHoklch(58.4% 0.232 337.9)
XYZxyz(32.3391, 16.9131, 39.5838)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA27AA #27CA47
analogous
#9927CA #CA27AA #CA2759
triadic
#CA27AA #AACA27 #27AACA
tetradic
#CA27AA #CA9927 #27CA47 #2759CA
square
#CA27AA #CA9927 #27CA47 #2759CA
split-complementary
#CA27AA #59CA27 #27CA99
monochromatic
#631354 #971D7F #CA27AA #DD51C2 #E784D4

Accessibility & contrast

On white

4.79
#CA27AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CA27AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA27AA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA27AA#FFFFFF#000000##FFFFFF
##CA27AA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AD
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#D53268
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca27aa;
/* rgb */ color: rgb(202, 39, 170);
/* oklch */ color: oklch(58.4% 0.232 337.9);
Tailwind
colors: {
  custom: {
    50: '#df76c3',
    500: '#ca27aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca27aa;
$custom-light: #df76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca27aa",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 311.779,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.23209,
    "h": 337.9
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#CA27AA
secondary
#7CD08D
accent
#EB5F3D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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