#CA4EA8#CA4EA8

#CA4EA8 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.186 H 339.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CA4EA8
RGBrgb(202, 78, 168)
HSLhsl(316, 54%, 55%)
HSVhsv(316, 61%, 79%)
CMYKcmyk(0%, 61.4%, 16.8%, 20.8%)
CIE-LABlab(52.77, 59.04, -23.79)
CIE-LCHlch(52.77, 63.65, 338.06°)
OKLaboklab(61.72% 0.175 -0.064)
OKLCHoklch(61.72% 0.186 339.9)
XYZxyz(34.1501, 20.8355, 39.2613)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EA8 #4ECA70
analogous
#AE4ECA #CA4EA8 #CA4E6A
triadic
#CA4EA8 #A8CA4E #4EA8CA
tetradic
#CA4EA8 #CAAE4E #4ECA70 #4E6ACA
square
#CA4EA8 #CAAE4E #4ECA70 #4E6ACA
split-complementary
#CA4EA8 #6ACA4E #4ECAAE
monochromatic
#792462 #A83288 #CA4EA8 #D87DBF #E6ACD6

Accessibility & contrast

On white

4.06
#CA4EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CA4EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EA8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EA8#FFFFFF#000000##000000
##CA4EA81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AB
Deuteranopia (green-blind)
#7A85A5
Tritanopia (blue-blind)
#D55174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4ea8;
/* rgb */ color: rgb(202, 78, 168);
/* oklch */ color: oklch(61.7% 0.186 339.9);
Tailwind
colors: {
  custom: {
    50: '#dd87c2',
    500: '#ca4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ea8;
$custom-light: #dd87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ea8",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 316.452,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61721,
    "c": 0.1863,
    "h": 339.9
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#CA4EA8
secondary
#A0D4AE
accent
#DD734B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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