#CA40AB#CA40AB

#CA40AB is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.4% C 0.207 H 338.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA40AB
RGBrgb(202, 64, 171)
HSLhsl(313, 57%, 52%)
HSVhsv(313, 68%, 79%)
CMYKcmyk(0%, 68.3%, 15.3%, 20.8%)
CIE-LABlab(50.88, 65.05, -28.47)
CIE-LCHlch(50.88, 71.01, 336.37°)
OKLaboklab(60.38% 0.1922 -0.0771)
OKLCHoklch(60.38% 0.207 338.1)
XYZxyz(33.5419, 19.1667, 40.4532)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40AB #40CA5F
analogous
#A440CA #CA40AB #CA4066
triadic
#CA40AB #ABCA40 #40ABCA
tetradic
#CA40AB #CAA440 #40CA5F #4066CA
square
#CA40AB #CAA440 #40CA5F #4066CA
split-complementary
#CA40AB #66CA40 #40CAA4
monochromatic
#701F5E #A02C86 #CA40AB #D770C0 #E5A0D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA40AB#FFFFFF#000000##000000
##CA40AB1.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)
#466BAE
Deuteranopia (green-blind)
#7281A8
Tritanopia (blue-blind)
#D54670
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca40ab;
/* rgb */ color: rgb(202, 64, 171);
/* oklch */ color: oklch(60.4% 0.207 338.1);
Tailwind
colors: {
  custom: {
    50: '#de80c4',
    500: '#ca40ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca40ab;
$custom-light: #de80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40ab",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 313.478,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.20707,
    "h": 338.1
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#CA40AB
secondary
#95D1A2
accent
#E06A48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA40AB

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

Preview Lab → · Contrast checker → · Palette generator →

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