#CA27A9#CA27A9

#CA27A9 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.3% C 0.231 H 338.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA27A9
RGBrgb(202, 39, 169)
HSLhsl(312, 68%, 47%)
HSVhsv(312, 81%, 79%)
CMYKcmyk(0%, 80.7%, 16.3%, 20.8%)
CIE-LABlab(48.10, 72.42, -31.62)
CIE-LCHlch(48.10, 79.02, 336.41°)
OKLaboklab(58.35% 0.2149 -0.0859)
OKLCHoklch(58.35% 0.231 338.2)
XYZxyz(32.2449, 16.8754, 39.0875)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA27A9 #27CA48
analogous
#9927CA #CA27A9 #CA2758
triadic
#CA27A9 #A9CA27 #27A9CA
tetradic
#CA27A9 #CA9927 #27CA48 #2758CA
square
#CA27A9 #CA9927 #27CA48 #2758CA
split-complementary
#CA27A9 #58CA27 #27CA99
monochromatic
#631353 #971D7E #CA27A9 #DD51C1 #E784D3

Accessibility & contrast

On white

4.80
#CA27A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CA27A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA27A9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA27A9#FFFFFF#000000##FFFFFF
##CA27A91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#D63168
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca27a9;
/* rgb */ color: rgb(202, 39, 169);
/* oklch */ color: oklch(58.3% 0.231 338.2);
Tailwind
colors: {
  custom: {
    50: '#df76c3',
    500: '#ca27a9',
    950: '#000000',
  },
}
SCSS
$custom: #ca27a9;
$custom-light: #df76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca27a9",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 312.147,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.23146,
    "h": 338.2
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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