#CA25A7#CA25A7

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

Color values

HEX#CA25A7
RGBrgb(202, 37, 167)
HSLhsl(313, 69%, 47%)
HSVhsv(313, 82%, 79%)
CMYKcmyk(0%, 81.7%, 17.3%, 20.8%)
CIE-LABlab(47.85, 72.62, -30.84)
CIE-LCHlch(47.85, 78.90, 336.99°)
OKLaboklab(58.13% 0.2162 -0.0837)
OKLCHoklch(58.13% 0.232 338.8)
XYZxyz(31.9946, 16.6730, 38.0850)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA25A7 #25CA48
analogous
#9B25CA #CA25A7 #CA2555
triadic
#CA25A7 #A7CA25 #25A7CA
tetradic
#CA25A7 #CA9B25 #25CA48 #2555CA
square
#CA25A7 #CA9B25 #25CA48 #2555CA
split-complementary
#CA25A7 #55CA25 #25CA9B
monochromatic
#631251 #961C7C #CA25A7 #DF4EC0 #E881D2

Accessibility & contrast

On white

4.85
#CA25A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CA25A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA25A7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA25A7#FFFFFF#000000##FFFFFF
##CA25A71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#D62F66
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca25a7;
/* rgb */ color: rgb(202, 37, 167);
/* oklch */ color: oklch(58.1% 0.232 338.8);
Tailwind
colors: {
  custom: {
    50: '#df75c1',
    500: '#ca25a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca25a7;
$custom-light: #df75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca25a7",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 312.727,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.2318,
    "h": 338.8
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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