#CA27AC#CA27AC

#CA27AC is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.5% C 0.233 H 337.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA27AC
RGBrgb(202, 39, 172)
HSLhsl(311, 68%, 47%)
HSVhsv(311, 81%, 79%)
CMYKcmyk(0%, 80.7%, 14.9%, 20.8%)
CIE-LABlab(48.25, 72.82, -33.17)
CIE-LCHlch(48.25, 80.02, 335.51°)
OKLaboklab(58.5% 0.2152 -0.0903)
OKLCHoklch(58.5% 0.233 337.2)
XYZxyz(32.5297, 16.9893, 40.5878)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA27AC #27CA45
analogous
#9727CA #CA27AC #CA275A
triadic
#CA27AC #ACCA27 #27ACCA
tetradic
#CA27AC #CA9727 #27CA45 #275ACA
square
#CA27AC #CA9727 #27CA45 #275ACA
split-complementary
#CA27AC #5ACA27 #27CA97
monochromatic
#631355 #971D80 #CA27AC #DD51C4 #E784D5

Accessibility & contrast

On white

4.78
#CA27AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA27AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA27AC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA27AC#FFFFFF#000000##FFFFFF
##CA27AC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#D53369
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca27ac;
/* rgb */ color: rgb(202, 39, 172);
/* oklch */ color: oklch(58.5% 0.233 337.2);
Tailwind
colors: {
  custom: {
    50: '#df76c5',
    500: '#ca27ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca27ac;
$custom-light: #df76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca27ac",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 311.043,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.23336,
    "h": 337.2
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#CA27AC
secondary
#7CD08C
accent
#EB5D3D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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