#CA26AA#CA26AA

#CA26AA is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.3% C 0.233 H 337.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA26AA
RGBrgb(202, 38, 170)
HSLhsl(312, 68%, 47%)
HSVhsv(312, 81%, 79%)
CMYKcmyk(0%, 81.2%, 15.8%, 20.8%)
CIE-LABlab(48.07, 72.79, -32.27)
CIE-LCHlch(48.07, 79.62, 336.09°)
OKLaboklab(58.34% 0.2157 -0.0878)
OKLCHoklch(58.34% 0.233 337.9)
XYZxyz(32.3067, 16.8483, 39.5730)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA26AA #26CA46
analogous
#9826CA #CA26AA #CA2658
triadic
#CA26AA #AACA26 #26AACA
tetradic
#CA26AA #CA9826 #26CA46 #2658CA
square
#CA26AA #CA9826 #26CA46 #2658CA
split-complementary
#CA26AA #58CA26 #26CA98
monochromatic
#631353 #961C7F #CA26AA #DE4FC2 #E883D4

Accessibility & contrast

On white

4.81
#CA26AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CA26AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA26AA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA26AA#FFFFFF#000000##FFFFFF
##CA26AA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#697BA6
Tritanopia (blue-blind)
#D53168
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca26aa;
/* rgb */ color: rgb(202, 38, 170);
/* oklch */ color: oklch(58.3% 0.233 337.9);
Tailwind
colors: {
  custom: {
    50: '#df75c3',
    500: '#ca26aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca26aa;
$custom-light: #df75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca26aa",
  "rgb": {
    "r": 202,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 311.707,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.23289,
    "h": 337.9
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#CA26AA
secondary
#7BD18C
accent
#EB5F3D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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