#CA26AC#CA26AC

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

Color values

HEX#CA26AC
RGBrgb(202, 38, 172)
HSLhsl(311, 68%, 47%)
HSVhsv(311, 81%, 79%)
CMYKcmyk(0%, 81.2%, 14.9%, 20.8%)
CIE-LABlab(48.16, 73.06, -33.30)
CIE-LCHlch(48.16, 80.29, 335.50°)
OKLaboklab(58.44% 0.2159 -0.0907)
OKLCHoklch(58.44% 0.234 337.2)
XYZxyz(32.4973, 16.9245, 40.5770)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA26AC #26CA44
analogous
#9626CA #CA26AC #CA265A
triadic
#CA26AC #ACCA26 #26ACCA
tetradic
#CA26AC #CA9626 #26CA44 #265ACA
square
#CA26AC #CA9626 #26CA44 #265ACA
split-complementary
#CA26AC #5ACA26 #26CA96
monochromatic
#631354 #961C80 #CA26AC #DE4FC4 #E883D5

Accessibility & contrast

On white

4.79
#CA26AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA26AC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA26AC#FFFFFF#000000##FFFFFF
##CA26AC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#D53369
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca26ac;
/* rgb */ color: rgb(202, 38, 172);
/* oklch */ color: oklch(58.4% 0.234 337.2);
Tailwind
colors: {
  custom: {
    50: '#df75c5',
    500: '#ca26ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca26ac;
$custom-light: #df75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca26ac",
  "rgb": {
    "r": 202,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 310.976,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.23415,
    "h": 337.2
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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