#CA478F#CA478F

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

Color values

HEX#CA478F
RGBrgb(202, 71, 143)
HSLhsl(327, 55%, 54%)
HSVhsv(327, 65%, 79%)
CMYKcmyk(0%, 64.9%, 29.2%, 20.8%)
CIE-LABlab(50.75, 58.58, -12.10)
CIE-LCHlch(50.75, 59.81, 348.33°)
OKLaboklab(59.92% 0.1781 -0.0315)
OKLCHoklch(59.92% 0.181 350)
XYZxyz(31.5697, 19.0495, 27.9956)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA478F #47CA82
analogous
#C347CA #CA478F #CA474D
triadic
#CA478F #8FCA47 #478FCA
tetradic
#CA478F #CAC347 #47CA82 #474DCA
square
#CA478F #CAC347 #47CA82 #474DCA
split-complementary
#CA478F #4DCA47 #47CAC3
monochromatic
#75224F #A42F70 #CA478F #D877AC #E5A6C9

Accessibility & contrast

On white

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

On black

4.81
#CA478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA478F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA478F#FFFFFF#000000##000000
##CA478F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#7E818C
Tritanopia (blue-blind)
#D84165
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca478f;
/* rgb */ color: rgb(202, 71, 143);
/* oklch */ color: oklch(59.9% 0.181 350.0);
Tailwind
colors: {
  custom: {
    50: '#de82af',
    500: '#ca478f',
    950: '#000000',
  },
}
SCSS
$custom: #ca478f;
$custom-light: #de82af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca478f",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 327.023,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.18087,
    "h": 350
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA478F

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

Preview Lab → · Contrast checker → · Palette generator →

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