#CA4EA7#CA4EA7

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

Color values

HEX#CA4EA7
RGBrgb(202, 78, 167)
HSLhsl(317, 54%, 55%)
HSVhsv(317, 61%, 79%)
CMYKcmyk(0%, 61.4%, 17.3%, 20.8%)
CIE-LABlab(52.73, 58.89, -23.26)
CIE-LCHlch(52.73, 63.32, 338.45°)
OKLaboklab(61.68% 0.1748 -0.0625)
OKLCHoklch(61.68% 0.186 340.3)
XYZxyz(34.0573, 20.7983, 38.7725)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EA7 #4ECA71
analogous
#AF4ECA #CA4EA7 #CA4E69
triadic
#CA4EA7 #A7CA4E #4EA7CA
tetradic
#CA4EA7 #CAAF4E #4ECA71 #4E69CA
square
#CA4EA7 #CAAF4E #4ECA71 #4E69CA
split-complementary
#CA4EA7 #69CA4E #4ECAAF
monochromatic
#792461 #A83287 #CA4EA7 #D87DBE #E6ACD6

Accessibility & contrast

On white

4.07
#CA4EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CA4EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EA7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EA7#FFFFFF#000000##000000
##CA4EA71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#D55173
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4ea7;
/* rgb */ color: rgb(202, 78, 167);
/* oklch */ color: oklch(61.7% 0.186 340.3);
Tailwind
colors: {
  custom: {
    50: '#dd87c1',
    500: '#ca4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ea7;
$custom-light: #dd87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ea7",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 316.935,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.18561,
    "h": 340.3
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#CA4EA7
secondary
#A0D4AF
accent
#DD744B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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