#CA40AD#CA40AD

#CA40AD is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.5% C 0.208 H 337.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CA40AD
RGBrgb(202, 64, 173)
HSLhsl(313, 57%, 52%)
HSVhsv(313, 68%, 79%)
CMYKcmyk(0%, 68.3%, 14.4%, 20.8%)
CIE-LABlab(50.97, 65.34, -29.50)
CIE-LCHlch(50.97, 71.69, 335.70°)
OKLaboklab(60.48% 0.1925 -0.08)
OKLCHoklch(60.48% 0.208 337.4)
XYZxyz(33.7339, 19.2435, 41.4648)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40AD #40CA5D
analogous
#A240CA #CA40AD #CA4068
triadic
#CA40AD #ADCA40 #40ADCA
tetradic
#CA40AD #CAA240 #40CA5D #4068CA
square
#CA40AD #CAA240 #40CA5D #4068CA
split-complementary
#CA40AD #68CA40 #40CAA2
monochromatic
#701F5F #A02C88 #CA40AD #D770C2 #E5A0D6

Accessibility & contrast

On white

4.33
#CA40AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CA40AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40AD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40AD#FFFFFF#000000##000000
##CA40AD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB0
Deuteranopia (green-blind)
#7181AA
Tritanopia (blue-blind)
#D54771
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca40ad;
/* rgb */ color: rgb(202, 64, 173);
/* oklch */ color: oklch(60.5% 0.208 337.4);
Tailwind
colors: {
  custom: {
    50: '#de80c5',
    500: '#ca40ad',
    950: '#000000',
  },
}
SCSS
$custom: #ca40ad;
$custom-light: #de80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40ad",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 312.609,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60478,
    "c": 0.20844,
    "h": 337.4
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#CA40AD
secondary
#95D1A1
accent
#E06848
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA40AD

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

Preview Lab → · Contrast checker → · Palette generator →

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