#CA26AB#CA26AB

#CA26AB is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.4% C 0.234 H 337.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA26AB
RGBrgb(202, 38, 171)
HSLhsl(311, 68%, 47%)
HSVhsv(311, 81%, 79%)
CMYKcmyk(0%, 81.2%, 15.3%, 20.8%)
CIE-LABlab(48.12, 72.92, -32.78)
CIE-LCHlch(48.12, 79.95, 335.79°)
OKLaboklab(58.39% 0.2158 -0.0892)
OKLCHoklch(58.39% 0.234 337.5)
XYZxyz(32.4017, 16.8863, 40.0731)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA26AB #26CA45
analogous
#9726CA #CA26AB #CA2659
triadic
#CA26AB #ABCA26 #26ABCA
tetradic
#CA26AB #CA9726 #26CA45 #2659CA
square
#CA26AB #CA9726 #26CA45 #2659CA
split-complementary
#CA26AB #59CA26 #26CA97
monochromatic
#631354 #961C7F #CA26AB #DE4FC3 #E883D5

Accessibility & contrast

On white

4.80
#CA26AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CA26AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA26AB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA26AB#FFFFFF#000000##FFFFFF
##CA26AB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#D53269
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca26ab;
/* rgb */ color: rgb(202, 38, 171);
/* oklch */ color: oklch(58.4% 0.234 337.5);
Tailwind
colors: {
  custom: {
    50: '#df75c4',
    500: '#ca26ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca26ab;
$custom-light: #df75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca26ab",
  "rgb": {
    "r": 202,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 311.341,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.23352,
    "h": 337.5
  },
  "luminance": 0.16883
}

Semantic roles & 50–950 ramp

primary
#CA26AB
secondary
#7BD18B
accent
#EB5E3D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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