#CA4781#CA4781

#CA4781 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.174 H 356.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA4781
RGBrgb(202, 71, 129)
HSLhsl(333, 55%, 54%)
HSVhsv(333, 65%, 79%)
CMYKcmyk(0%, 64.9%, 36.1%, 20.8%)
CIE-LABlab(50.28, 56.92, -4.42)
CIE-LCHlch(50.28, 57.09, 355.56°)
OKLaboklab(59.42% 0.174 -0.0109)
OKLCHoklch(59.42% 0.174 356.4)
XYZxyz(30.5746, 18.6515, 22.7546)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4781 #47CA90
analogous
#CA47C2 #CA4781 #CA4E47
triadic
#CA4781 #81CA47 #4781CA
tetradic
#CA4781 #C2CA47 #47CA90 #4E47CA
square
#CA4781 #C2CA47 #47CA90 #4E47CA
split-complementary
#CA4781 #47CA4E #47C2CA
monochromatic
#752247 #A42F63 #CA4781 #D877A2 #E5A6C2

Accessibility & contrast

On white

4.44
#CA4781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CA4781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4781
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4781#FFFFFF#000000##000000
##CA47811.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6883
Deuteranopia (green-blind)
#81817E
Tritanopia (blue-blind)
#D93C5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca4781;
/* rgb */ color: rgb(202, 71, 129);
/* oklch */ color: oklch(59.4% 0.174 356.4);
Tailwind
colors: {
  custom: {
    50: '#de82a5',
    500: '#ca4781',
    950: '#000000',
  },
}
SCSS
$custom: #ca4781;
$custom-light: #de82a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4781",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 333.435,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.17435,
    "h": 356.4
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#CA4781
secondary
#9AD2BA
accent
#DF9C49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA4781

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

Preview Lab → · Contrast checker → · Palette generator →

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