#CA40AA#CA40AA

#CA40AA is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.3% C 0.206 H 338.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA40AA
RGBrgb(202, 64, 170)
HSLhsl(314, 57%, 52%)
HSVhsv(314, 68%, 79%)
CMYKcmyk(0%, 68.3%, 15.8%, 20.8%)
CIE-LABlab(50.84, 64.91, -27.95)
CIE-LCHlch(50.84, 70.67, 336.71°)
OKLaboklab(60.34% 0.192 -0.0756)
OKLCHoklch(60.34% 0.206 338.5)
XYZxyz(33.4469, 19.1287, 39.9531)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40AA #40CA60
analogous
#A540CA #CA40AA #CA4065
triadic
#CA40AA #AACA40 #40AACA
tetradic
#CA40AA #CAA540 #40CA60 #4065CA
square
#CA40AA #CAA540 #40CA60 #4065CA
split-complementary
#CA40AA #65CA40 #40CAA5
monochromatic
#701F5E #A02C85 #CA40AA #D770BF #E5A0D5

Accessibility & contrast

On white

4.35
#CA40AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CA40AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40AA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40AA#FFFFFF#000000##000000
##CA40AA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466BAD
Deuteranopia (green-blind)
#7281A7
Tritanopia (blue-blind)
#D5466F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca40aa;
/* rgb */ color: rgb(202, 64, 170);
/* oklch */ color: oklch(60.3% 0.206 338.5);
Tailwind
colors: {
  custom: {
    50: '#de80c3',
    500: '#ca40aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca40aa;
$custom-light: #de80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40aa",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 313.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.20639,
    "h": 338.5
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#CA40AA
secondary
#95D1A3
accent
#E06B48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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