#CA4FA2#CA4FA2

#CA4FA2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.181 H 342.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CA4FA2
RGBrgb(202, 79, 162)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 61%, 79%)
CMYKcmyk(0%, 60.9%, 19.8%, 20.8%)
CIE-LABlab(52.69, 57.74, -20.39)
CIE-LCHlch(52.69, 61.24, 340.55°)
OKLaboklab(61.58% 0.1724 -0.0545)
OKLCHoklch(61.58% 0.181 342.5)
XYZxyz(33.6756, 20.7602, 36.4090)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FA2 #4FCA77
analogous
#B44FCA #CA4FA2 #CA4F65
triadic
#CA4FA2 #A2CA4F #4FA2CA
tetradic
#CA4FA2 #CAB44F #4FCA77 #4F65CA
square
#CA4FA2 #CAB44F #4FCA77 #4F65CA
split-complementary
#CA4FA2 #65CA4F #4FCAB4
monochromatic
#7A255E #A93383 #CA4FA2 #D87EBB #E6ADD4

Accessibility & contrast

On white

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

On black

5.15
#CA4FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FA2#FFFFFF#000000##000000
##CA4FA21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D65071
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4fa2;
/* rgb */ color: rgb(202, 79, 162);
/* oklch */ color: oklch(61.6% 0.181 342.5);
Tailwind
colors: {
  custom: {
    50: '#dd87bd',
    500: '#ca4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fa2;
$custom-light: #dd87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fa2",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 319.512,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.18083,
    "h": 342.5
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#CA4FA2
secondary
#A1D4B1
accent
#DD7A4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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