#CA4EA1#CA4EA1

#CA4EA1 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.182 H 342.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA4EA1
RGBrgb(202, 78, 161)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 61%, 79%)
CMYKcmyk(0%, 61.4%, 20.3%, 20.8%)
CIE-LABlab(52.49, 58.03, -20.11)
CIE-LCHlch(52.49, 61.42, 340.89°)
OKLaboklab(61.42% 0.1735 -0.0537)
OKLCHoklch(61.42% 0.182 342.8)
XYZxyz(33.5155, 20.5816, 35.9188)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EA1 #4ECA77
analogous
#B54ECA #CA4EA1 #CA4E63
triadic
#CA4EA1 #A1CA4E #4EA1CA
tetradic
#CA4EA1 #CAB54E #4ECA77 #4E63CA
square
#CA4EA1 #CAB54E #4ECA77 #4E63CA
split-complementary
#CA4EA1 #63CA4E #4ECAB5
monochromatic
#79245D #A83281 #CA4EA1 #D87DBA #E6ACD3

Accessibility & contrast

On white

4.10
#CA4EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CA4EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EA1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EA1#FFFFFF#000000##000000
##CA4EA11.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5870A4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#D64F71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4ea1;
/* rgb */ color: rgb(202, 78, 161);
/* oklch */ color: oklch(61.4% 0.182 342.8);
Tailwind
colors: {
  custom: {
    50: '#dd87bd',
    500: '#ca4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ea1;
$custom-light: #dd87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ea1",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 319.839,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.18162,
    "h": 342.8
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#CA4EA1
secondary
#A0D4B1
accent
#DD7B4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CA4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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