#CA25A2#CA25A2

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

Color values

HEX#CA25A2
RGBrgb(202, 37, 162)
HSLhsl(315, 69%, 47%)
HSVhsv(315, 82%, 79%)
CMYKcmyk(0%, 81.7%, 19.8%, 20.8%)
CIE-LABlab(47.61, 71.97, -28.23)
CIE-LCHlch(47.61, 77.31, 338.58°)
OKLaboklab(57.89% 0.2157 -0.0762)
OKLCHoklch(57.89% 0.229 340.5)
XYZxyz(31.5413, 16.4916, 35.6975)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA25A2 #25CA4D
analogous
#9F25CA #CA25A2 #CA2550
triadic
#CA25A2 #A2CA25 #25A2CA
tetradic
#CA25A2 #CA9F25 #25CA4D #2550CA
square
#CA25A2 #CA9F25 #25CA4D #2550CA
split-complementary
#CA25A2 #50CA25 #25CA9F
monochromatic
#63124F #961C79 #CA25A2 #DF4EBB #E881CF

Accessibility & contrast

On white

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

On black

4.30
#CA25A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA25A2#FFFFFF#000000##FFFFFF
##CA25A21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#6C7A9E
Tritanopia (blue-blind)
#D62B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca25a2;
/* rgb */ color: rgb(202, 37, 162);
/* oklch */ color: oklch(57.9% 0.229 340.5);
Tailwind
colors: {
  custom: {
    50: '#df75be',
    500: '#ca25a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca25a2;
$custom-light: #df75be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca25a2",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 314.545,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.22873,
    "h": 340.5
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#CA25A2
secondary
#7AD18F
accent
#EC673C
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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