#CA51A7#CA51A7

#CA51A7 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.181 H 340.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CA51A7
RGBrgb(202, 81, 167)
HSLhsl(317, 53%, 55%)
HSVhsv(317, 60%, 79%)
CMYKcmyk(0%, 59.9%, 17.3%, 20.8%)
CIE-LABlab(53.21, 57.59, -22.53)
CIE-LCHlch(53.21, 61.84, 338.64°)
OKLaboklab(62.03% 0.1709 -0.0605)
OKLCHoklch(62.03% 0.181 340.5)
XYZxyz(34.2753, 21.2344, 38.8452)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51A7 #51CA74
analogous
#B051CA #CA51A7 #CA516B
triadic
#CA51A7 #A7CA51 #51A7CA
tetradic
#CA51A7 #CAB051 #51CA74 #516BCA
square
#CA51A7 #CAB051 #51CA74 #516BCA
split-complementary
#CA51A7 #6BCA51 #51CAB0
monochromatic
#7B2562 #AA3488 #CA51A7 #D880BF #E7AFD6

Accessibility & contrast

On white

4.00
#CA51A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CA51A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51A7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51A7#FFFFFF#000000##000000
##CA51A71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#D55375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca51a7;
/* rgb */ color: rgb(202, 81, 167);
/* oklch */ color: oklch(62.0% 0.181 340.5);
Tailwind
colors: {
  custom: {
    50: '#dd88c1',
    500: '#ca51a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca51a7;
$custom-light: #dd88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51a7",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 317.355,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62028,
    "c": 0.18125,
    "h": 340.5
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#CA51A7
secondary
#A2D5B1
accent
#DD754B
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA51A7

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

Preview Lab → · Contrast checker → · Palette generator →

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