#CA51AF#CA51AF

#CA51AF is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.187 H 337.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CA51AF
RGBrgb(202, 81, 175)
HSLhsl(313, 53%, 55%)
HSVhsv(313, 60%, 79%)
CMYKcmyk(0%, 59.9%, 13.4%, 20.8%)
CIE-LABlab(53.53, 58.79, -26.69)
CIE-LCHlch(53.53, 64.57, 335.58°)
OKLaboklab(62.38% 0.1724 -0.0722)
OKLCHoklch(62.38% 0.187 337.3)
XYZxyz(35.0379, 21.5394, 42.8613)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51AF #51CA6C
analogous
#A851CA #CA51AF #CA5173
triadic
#CA51AF #AFCA51 #51AFCA
tetradic
#CA51AF #CAA851 #51CA6C #5173CA
square
#CA51AF #CAA851 #51CA6C #5173CA
split-complementary
#CA51AF #73CA51 #51CAA8
monochromatic
#7B2568 #AA3490 #CA51AF #D880C5 #E7AFDA

Accessibility & contrast

On white

3.96
#CA51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CA51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51AF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51AF#FFFFFF#000000##000000
##CA51AF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#D45679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca51af;
/* rgb */ color: rgb(202, 81, 175);
/* oklch */ color: oklch(62.4% 0.187 337.3);
Tailwind
colors: {
  custom: {
    50: '#dd89c7',
    500: '#ca51af',
    950: '#000000',
  },
}
SCSS
$custom: #ca51af;
$custom-light: #dd89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51af",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 313.388,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62379,
    "c": 0.18692,
    "h": 337.3
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#CA51AF
secondary
#A2D5AD
accent
#DD6C4B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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