#CA47AC#CA47AC

#CA47AC is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.199 H 338.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CA47AC
RGBrgb(202, 71, 172)
HSLhsl(314, 55%, 54%)
HSVhsv(314, 65%, 79%)
CMYKcmyk(0%, 64.9%, 14.9%, 20.8%)
CIE-LABlab(51.89, 62.52, -27.49)
CIE-LCHlch(51.89, 68.29, 336.26°)
OKLaboklab(61.13% 0.1843 -0.0744)
OKLCHoklch(61.13% 0.199 338)
XYZxyz(34.0574, 20.0446, 41.0970)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47AC #47CA65
analogous
#A647CA #CA47AC #CA476A
triadic
#CA47AC #ACCA47 #47ACCA
tetradic
#CA47AC #CAA647 #47CA65 #476ACA
square
#CA47AC #CAA647 #47CA65 #476ACA
split-complementary
#CA47AC #6ACA47 #47CAA6
monochromatic
#752262 #A42F8A #CA47AC #D877C1 #E5A6D7

Accessibility & contrast

On white

4.19
#CA47AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CA47AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47AC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47AC#FFFFFF#000000##000000
##CA47AC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#D54C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca47ac;
/* rgb */ color: rgb(202, 71, 172);
/* oklch */ color: oklch(61.1% 0.199 338.0);
Tailwind
colors: {
  custom: {
    50: '#de83c5',
    500: '#ca47ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca47ac;
$custom-light: #de83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47ac",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 313.74,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61131,
    "c": 0.19877,
    "h": 338
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

primary
#CA47AC
secondary
#9AD2A7
accent
#DF6B49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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