#CA478D#CA478D

#CA478D is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.180 H 350.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA478D
RGBrgb(202, 71, 141)
HSLhsl(328, 55%, 54%)
HSVhsv(328, 65%, 79%)
CMYKcmyk(0%, 64.9%, 30.2%, 20.8%)
CIE-LABlab(50.67, 58.33, -11.01)
CIE-LCHlch(50.67, 59.36, 349.31°)
OKLaboklab(59.84% 0.1776 -0.0286)
OKLCHoklch(59.84% 0.18 350.9)
XYZxyz(31.4196, 18.9895, 27.2048)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA478D #47CA84
analogous
#C547CA #CA478D #CA474B
triadic
#CA478D #8DCA47 #478DCA
tetradic
#CA478D #CAC547 #47CA84 #474BCA
square
#CA478D #CAC547 #47CA84 #474BCA
split-complementary
#CA478D #4BCA47 #47CAC5
monochromatic
#75224E #A42F6E #CA478D #D877AA #E5A6C8

Accessibility & contrast

On white

4.38
#CA478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CA478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA478D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA478D#FFFFFF#000000##000000
##CA478D1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#7F818A
Tritanopia (blue-blind)
#D84064
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca478d;
/* rgb */ color: rgb(202, 71, 141);
/* oklch */ color: oklch(59.8% 0.180 350.9);
Tailwind
colors: {
  custom: {
    50: '#de82ae',
    500: '#ca478d',
    950: '#000000',
  },
}
SCSS
$custom: #ca478d;
$custom-light: #de82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca478d",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 327.939,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.17984,
    "h": 350.9
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#CA478D
secondary
#9AD2B4
accent
#DF8F49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA478D

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

Preview Lab → · Contrast checker → · Palette generator →

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