#CA31A0#CA31A0

#CA31A0 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.6% C 0.217 H 341.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA31A0
RGBrgb(202, 49, 160)
HSLhsl(316, 61%, 49%)
HSVhsv(316, 76%, 79%)
CMYKcmyk(0%, 75.7%, 20.8%, 20.8%)
CIE-LABlab(48.63, 68.54, -25.46)
CIE-LCHlch(48.63, 73.12, 339.62°)
OKLaboklab(58.59% 0.2057 -0.0685)
OKLCHoklch(58.59% 0.217 341.6)
XYZxyz(31.8017, 17.2945, 34.9143)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA31A0 #31CA5B
analogous
#A831CA #CA31A0 #CA3153
triadic
#CA31A0 #A0CA31 #31A0CA
tetradic
#CA31A0 #CAA831 #31CA5B #3153CA
square
#CA31A0 #CAA831 #31CA5B #3153CA
split-complementary
#CA31A0 #53CA31 #31CAA8
monochromatic
#671952 #992579 #CA31A0 #D860B7 #E491CD

Accessibility & contrast

On white

4.71
#CA31A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA31A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA31A0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA31A0#FFFFFF#000000##FFFFFF
##CA31A01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A3
Deuteranopia (green-blind)
#707C9D
Tritanopia (blue-blind)
#D73465
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca31a0;
/* rgb */ color: rgb(202, 49, 160);
/* oklch */ color: oklch(58.6% 0.217 341.6);
Tailwind
colors: {
  custom: {
    50: '#de79bc',
    500: '#ca31a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca31a0;
$custom-light: #de79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca31a0",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 316.471,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.2168,
    "h": 341.6
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#CA31A0
secondary
#88CF9B
accent
#E47044
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA31A0

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

Preview Lab → · Contrast checker → · Palette generator →

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