#CA2E8A#CA2E8A

#CA2E8A is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.4% C 0.208 H 349.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA2E8A
RGBrgb(202, 46, 138)
HSLhsl(325, 63%, 49%)
HSVhsv(325, 77%, 79%)
CMYKcmyk(0%, 77.2%, 31.7%, 20.8%)
CIE-LABlab(47.43, 66.74, -14.11)
CIE-LCHlch(47.43, 68.22, 348.06°)
OKLaboklab(57.43% 0.2042 -0.0369)
OKLCHoklch(57.43% 0.208 349.8)
XYZxyz(29.9232, 16.3491, 25.6197)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2E8A #2ECA6E
analogous
#BC2ECA #CA2E8A #CA2E3C
triadic
#CA2E8A #8ACA2E #2E8ACA
tetradic
#CA2E8A #CABC2E #2ECA6E #2E3CCA
square
#CA2E8A #CABC2E #2ECA6E #2E3CCA
split-complementary
#CA2E8A #3CCA2E #2ECABC
monochromatic
#661746 #982368 #CA2E8A #DA5BA6 #E58DC1

Accessibility & contrast

On white

4.92
#CA2E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA2E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2E8A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2E8A#FFFFFF#000000##FFFFFF
##CA2E8A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#767A87
Tritanopia (blue-blind)
#D92359
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2e8a;
/* rgb */ color: rgb(202, 46, 138);
/* oklch */ color: oklch(57.4% 0.208 349.8);
Tailwind
colors: {
  custom: {
    50: '#df77ac',
    500: '#ca2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2e8a;
$custom-light: #df77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2e8a",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 324.615,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.20751,
    "h": 349.8
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#CA2E8A
secondary
#84CFA3
accent
#E68542
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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