#CA4FA6#CA4FA6

#CA4FA6 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.183 H 340.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CA4FA6
RGBrgb(202, 79, 166)
HSLhsl(318, 54%, 55%)
HSVhsv(318, 61%, 79%)
CMYKcmyk(0%, 60.9%, 17.8%, 20.8%)
CIE-LABlab(52.84, 58.32, -22.50)
CIE-LCHlch(52.84, 62.51, 338.91°)
OKLaboklab(61.75% 0.1733 -0.0604)
OKLCHoklch(61.75% 0.183 340.8)
XYZxyz(34.0368, 20.9047, 38.3114)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FA6 #4FCA73
analogous
#B14FCA #CA4FA6 #CA4F68
triadic
#CA4FA6 #A6CA4F #4FA6CA
tetradic
#CA4FA6 #CAB14F #4FCA73 #4F68CA
square
#CA4FA6 #CAB14F #4FCA73 #4F68CA
split-complementary
#CA4FA6 #68CA4F #4FCAB1
monochromatic
#7A2561 #A93386 #CA4FA6 #D87EBE #E6ADD6

Accessibility & contrast

On white

4.05
#CA4FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CA4FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FA6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FA6#FFFFFF#000000##000000
##CA4FA61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#7B85A3
Tritanopia (blue-blind)
#D55173
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4fa6;
/* rgb */ color: rgb(202, 79, 166);
/* oklch */ color: oklch(61.8% 0.183 340.8);
Tailwind
colors: {
  custom: {
    50: '#dd87c0',
    500: '#ca4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fa6;
$custom-light: #dd87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fa6",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 317.561,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.18349,
    "h": 340.8
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#CA4FA6
secondary
#A1D4B0
accent
#DD764B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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