#CA27A0#CA27A0

#CA27A0 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.9% C 0.226 H 341.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA27A0
RGBrgb(202, 39, 160)
HSLhsl(315, 68%, 47%)
HSVhsv(315, 81%, 79%)
CMYKcmyk(0%, 80.7%, 20.8%, 20.8%)
CIE-LABlab(47.69, 71.24, -26.92)
CIE-LCHlch(47.69, 76.16, 339.30°)
OKLaboklab(57.91% 0.214 -0.0726)
OKLCHoklch(57.91% 0.226 341.3)
XYZxyz(31.4289, 16.5490, 34.7900)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA27A0 #27CA51
analogous
#A327CA #CA27A0 #CA274F
triadic
#CA27A0 #A0CA27 #27A0CA
tetradic
#CA27A0 #CAA327 #27CA51 #274FCA
square
#CA27A0 #CAA327 #27CA51 #274FCA
split-complementary
#CA27A0 #4FCA27 #27CAA3
monochromatic
#63134F #971D77 #CA27A0 #DD51B9 #E784CE

Accessibility & contrast

On white

4.87
#CA27A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CA27A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA27A0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA27A0#FFFFFF#000000##FFFFFF
##CA27A01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A3
Deuteranopia (green-blind)
#6D7A9C
Tritanopia (blue-blind)
#D72B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca27a0;
/* rgb */ color: rgb(202, 39, 160);
/* oklch */ color: oklch(57.9% 0.226 341.3);
Tailwind
colors: {
  custom: {
    50: '#df75bc',
    500: '#ca27a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca27a0;
$custom-light: #df75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca27a0",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 315.46,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.22593,
    "h": 341.3
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#CA27A0
secondary
#7CD092
accent
#EB6A3D
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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