#CA25A1#CA25A1

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

Color values

HEX#CA25A1
RGBrgb(202, 37, 161)
HSLhsl(315, 69%, 47%)
HSVhsv(315, 82%, 79%)
CMYKcmyk(0%, 81.7%, 20.3%, 20.8%)
CIE-LABlab(47.57, 71.84, -27.71)
CIE-LCHlch(47.57, 77.00, 338.91°)
OKLaboklab(57.84% 0.2155 -0.0748)
OKLCHoklch(57.84% 0.228 340.9)
XYZxyz(31.4528, 16.4562, 35.2313)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA25A1 #25CA4E
analogous
#A125CA #CA25A1 #CA254F
triadic
#CA25A1 #A1CA25 #25A1CA
tetradic
#CA25A1 #CAA125 #25CA4E #254FCA
square
#CA25A1 #CAA125 #25CA4E #254FCA
split-complementary
#CA25A1 #4FCA25 #25CAA1
monochromatic
#63124F #961C78 #CA25A1 #DF4EBB #E881CF

Accessibility & contrast

On white

4.89
#CA25A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CA25A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA25A1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA25A1#FFFFFF#000000##FFFFFF
##CA25A11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca25a1;
/* rgb */ color: rgb(202, 37, 161);
/* oklch */ color: oklch(57.8% 0.228 340.9);
Tailwind
colors: {
  custom: {
    50: '#df75bd',
    500: '#ca25a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca25a1;
$custom-light: #df75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca25a1",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 314.909,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57841,
    "c": 0.22814,
    "h": 340.9
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#CA25A1
secondary
#7AD190
accent
#EC683C
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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