#CA26A1#CA26A1

#CA26A1 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.9% C 0.227 H 340.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA26A1
RGBrgb(202, 38, 161)
HSLhsl(315, 68%, 47%)
HSVhsv(315, 81%, 79%)
CMYKcmyk(0%, 81.2%, 20.3%, 20.8%)
CIE-LABlab(47.65, 71.61, -27.58)
CIE-LCHlch(47.65, 76.74, 338.94°)
OKLaboklab(57.9% 0.2148 -0.0744)
OKLCHoklch(57.9% 0.227 340.9)
XYZxyz(31.4843, 16.5193, 35.2418)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA26A1 #26CA4F
analogous
#A126CA #CA26A1 #CA264F
triadic
#CA26A1 #A1CA26 #26A1CA
tetradic
#CA26A1 #CAA126 #26CA4F #264FCA
square
#CA26A1 #CAA126 #26CA4F #264FCA
split-complementary
#CA26A1 #4FCA26 #26CAA1
monochromatic
#63134F #961C78 #CA26A1 #DE4FBA #E883CE

Accessibility & contrast

On white

4.88
#CA26A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CA26A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA26A1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA26A1#FFFFFF#000000##FFFFFF
##CA26A11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#6D7A9D
Tritanopia (blue-blind)
#D72B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca26a1;
/* rgb */ color: rgb(202, 38, 161);
/* oklch */ color: oklch(57.9% 0.227 340.9);
Tailwind
colors: {
  custom: {
    50: '#df75bd',
    500: '#ca26a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca26a1;
$custom-light: #df75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca26a1",
  "rgb": {
    "r": 202,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 315,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.22734,
    "h": 340.9
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#CA26A1
secondary
#7BD191
accent
#EB683D
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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