#CA26A8#CA26A8

#CA26A8 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.2% C 0.232 H 338.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CA26A8
RGBrgb(202, 38, 168)
HSLhsl(312, 68%, 47%)
HSVhsv(312, 81%, 79%)
CMYKcmyk(0%, 81.2%, 16.8%, 20.8%)
CIE-LABlab(47.97, 72.52, -31.23)
CIE-LCHlch(47.97, 78.96, 336.70°)
OKLaboklab(58.24% 0.2156 -0.0848)
OKLCHoklch(58.24% 0.232 338.5)
XYZxyz(32.1190, 16.7732, 38.5842)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA26A8 #26CA48
analogous
#9A26CA #CA26A8 #CA2656
triadic
#CA26A8 #A8CA26 #26A8CA
tetradic
#CA26A8 #CA9A26 #26CA48 #2656CA
square
#CA26A8 #CA9A26 #26CA48 #2656CA
split-complementary
#CA26A8 #56CA26 #26CA9A
monochromatic
#631352 #961C7D #CA26A8 #DE4FC0 #E883D3

Accessibility & contrast

On white

4.82
#CA26A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CA26A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA26A8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA26A8#FFFFFF#000000##FFFFFF
##CA26A81.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AB
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#D63067
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca26a8;
/* rgb */ color: rgb(202, 38, 168);
/* oklch */ color: oklch(58.2% 0.232 338.5);
Tailwind
colors: {
  custom: {
    50: '#df75c2',
    500: '#ca26a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca26a8;
$custom-light: #df75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca26a8",
  "rgb": {
    "r": 202,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 312.439,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.23163,
    "h": 338.5
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#CA26A8
secondary
#7BD18D
accent
#EB613D
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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