#CA4C8E#CA4C8E

#CA4C8E is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.173 H 351.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA4C8E
RGBrgb(202, 76, 142)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 62%, 79%)
CMYKcmyk(0%, 62.4%, 29.7%, 20.8%)
CIE-LABlab(51.48, 56.36, -10.40)
CIE-LCHlch(51.48, 57.31, 349.54°)
OKLaboklab(60.45% 0.1713 -0.027)
OKLCHoklch(60.45% 0.173 351.1)
XYZxyz(31.8255, 19.6817, 27.7088)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4C8E #4CCA88
analogous
#C74CCA #CA4C8E #CA4C4F
triadic
#CA4C8E #8ECA4C #4C8ECA
tetradic
#CA4C8E #CAC74C #4CCA88 #4C4FCA
square
#CA4C8E #CAC74C #4CCA88 #4C4FCA
split-complementary
#CA4C8E #4FCA4C #4CCAC7
monochromatic
#782450 #A7326F #CA4C8E #D87BAC #E6AACA

Accessibility & contrast

On white

4.25
#CA4C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CA4C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4C8E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4C8E#FFFFFF#000000##000000
##CA4C8E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#80838B
Tritanopia (blue-blind)
#D84667
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4c8e;
/* rgb */ color: rgb(202, 76, 142);
/* oklch */ color: oklch(60.4% 0.173 351.1);
Tailwind
colors: {
  custom: {
    50: '#de85af',
    500: '#ca4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4c8e;
$custom-light: #de85af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4c8e",
  "rgb": {
    "r": 202,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 328.571,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.17345,
    "h": 351.1
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#CA4C8E
secondary
#9ED4B8
accent
#DE904A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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