#CA478E#CA478E

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

Color values

HEX#CA478E
RGBrgb(202, 71, 142)
HSLhsl(327, 55%, 54%)
HSVhsv(327, 65%, 79%)
CMYKcmyk(0%, 64.9%, 29.7%, 20.8%)
CIE-LABlab(50.71, 58.45, -11.55)
CIE-LCHlch(50.71, 59.58, 348.82°)
OKLaboklab(59.88% 0.1778 -0.0301)
OKLCHoklch(59.88% 0.18 350.4)
XYZxyz(31.4943, 19.0194, 27.5984)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA478E #47CA83
analogous
#C447CA #CA478E #CA474C
triadic
#CA478E #8ECA47 #478ECA
tetradic
#CA478E #CAC447 #47CA83 #474CCA
square
#CA478E #CAC447 #47CA83 #474CCA
split-complementary
#CA478E #4CCA47 #47CAC4
monochromatic
#75224F #A42F6F #CA478E #D877AB #E5A6C8

Accessibility & contrast

On white

4.37
#CA478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA478E#FFFFFF#000000##000000
##CA478E1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#7E818B
Tritanopia (blue-blind)
#D84164
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca478e;
/* rgb */ color: rgb(202, 71, 142);
/* oklch */ color: oklch(59.9% 0.180 350.4);
Tailwind
colors: {
  custom: {
    50: '#de82af',
    500: '#ca478e',
    950: '#000000',
  },
}
SCSS
$custom: #ca478e;
$custom-light: #de82af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca478e",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 327.481,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.18035,
    "h": 350.4
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA478E

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

Preview Lab → · Contrast checker → · Palette generator →

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