#CA25A8#CA25A8

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

Color values

HEX#CA25A8
RGBrgb(202, 37, 168)
HSLhsl(312, 69%, 47%)
HSVhsv(312, 82%, 79%)
CMYKcmyk(0%, 81.7%, 16.8%, 20.8%)
CIE-LABlab(47.89, 72.75, -31.36)
CIE-LCHlch(47.89, 79.22, 336.68°)
OKLaboklab(58.18% 0.2163 -0.0852)
OKLCHoklch(58.18% 0.232 338.5)
XYZxyz(32.0874, 16.7101, 38.5737)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA25A8 #25CA47
analogous
#9A25CA #CA25A8 #CA2555
triadic
#CA25A8 #A8CA25 #25A8CA
tetradic
#CA25A8 #CA9A25 #25CA47 #2555CA
square
#CA25A8 #CA9A25 #25CA47 #2555CA
split-complementary
#CA25A8 #55CA25 #25CA9A
monochromatic
#631252 #961C7D #CA25A8 #DF4EC1 #E881D3

Accessibility & contrast

On white

4.84
#CA25A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#CA25A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA25A8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA25A8#FFFFFF#000000##FFFFFF
##CA25A81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca25a8;
/* rgb */ color: rgb(202, 37, 168);
/* oklch */ color: oklch(58.2% 0.232 338.5);
Tailwind
colors: {
  custom: {
    50: '#df75c2',
    500: '#ca25a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca25a8;
$custom-light: #df75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca25a8",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 312.364,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.23242,
    "h": 338.5
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#CA25A8
secondary
#7AD18C
accent
#EC603C
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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