#CA4FA1#CA4FA1

#CA4FA1 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.180 H 342.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA4FA1
RGBrgb(202, 79, 161)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 61%, 79%)
CMYKcmyk(0%, 60.9%, 20.3%, 20.8%)
CIE-LABlab(52.65, 57.60, -19.87)
CIE-LCHlch(52.65, 60.93, 340.97°)
OKLaboklab(61.54% 0.1722 -0.053)
OKLCHoklch(61.54% 0.18 342.9)
XYZxyz(33.5870, 20.7248, 35.9427)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FA1 #4FCA78
analogous
#B64FCA #CA4FA1 #CA4F63
triadic
#CA4FA1 #A1CA4F #4FA1CA
tetradic
#CA4FA1 #CAB64F #4FCA78 #4F63CA
square
#CA4FA1 #CAB64F #4FCA78 #4F63CA
split-complementary
#CA4FA1 #63CA4F #4FCAB6
monochromatic
#7A255D #A93382 #CA4FA1 #D87EBA #E6ADD3

Accessibility & contrast

On white

4.08
#CA4FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CA4FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FA1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FA1#FFFFFF#000000##000000
##CA4FA11.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#D64F71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4fa1;
/* rgb */ color: rgb(202, 79, 161);
/* oklch */ color: oklch(61.5% 0.180 342.9);
Tailwind
colors: {
  custom: {
    50: '#dd87bd',
    500: '#ca4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fa1;
$custom-light: #dd87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fa1",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 320,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.18018,
    "h": 342.9
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#CA4FA1
secondary
#A1D4B2
accent
#DD7C4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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