#CA40A9#CA40A9

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

Color values

HEX#CA40A9
RGBrgb(202, 64, 169)
HSLhsl(314, 57%, 52%)
HSVhsv(314, 68%, 79%)
CMYKcmyk(0%, 68.3%, 16.3%, 20.8%)
CIE-LABlab(50.79, 64.77, -27.43)
CIE-LCHlch(50.79, 70.33, 337.05°)
OKLaboklab(60.29% 0.1919 -0.0742)
OKLCHoklch(60.29% 0.206 338.9)
XYZxyz(33.3527, 19.0910, 39.4568)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40A9 #40CA61
analogous
#A640CA #CA40A9 #CA4064
triadic
#CA40A9 #A9CA40 #40A9CA
tetradic
#CA40A9 #CAA640 #40CA61 #4064CA
square
#CA40A9 #CAA640 #40CA61 #4064CA
split-complementary
#CA40A9 #64CA40 #40CAA6
monochromatic
#701F5D #A02C85 #CA40A9 #D770BF #E5A0D4

Accessibility & contrast

On white

4.36
#CA40A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CA40A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40A9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40A9#FFFFFF#000000##000000
##CA40A91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAC
Deuteranopia (green-blind)
#7381A6
Tritanopia (blue-blind)
#D5456F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca40a9;
/* rgb */ color: rgb(202, 64, 169);
/* oklch */ color: oklch(60.3% 0.206 338.9);
Tailwind
colors: {
  custom: {
    50: '#de80c3',
    500: '#ca40a9',
    950: '#000000',
  },
}
SCSS
$custom: #ca40a9;
$custom-light: #de80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40a9",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 314.348,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.20572,
    "h": 338.9
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA40A9

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

Preview Lab → · Contrast checker → · Palette generator →

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