#CA4FA8#CA4FA8

#CA4FA8 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.185 H 340.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CA4FA8
RGBrgb(202, 79, 168)
HSLhsl(317, 54%, 55%)
HSVhsv(317, 61%, 79%)
CMYKcmyk(0%, 60.9%, 16.8%, 20.8%)
CIE-LABlab(52.93, 58.61, -23.54)
CIE-LCHlch(52.93, 63.16, 338.12°)
OKLaboklab(61.84% 0.1737 -0.0633)
OKLCHoklch(61.84% 0.185 340)
XYZxyz(34.2217, 20.9786, 39.2851)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FA8 #4FCA71
analogous
#AE4FCA #CA4FA8 #CA4F6B
triadic
#CA4FA8 #A8CA4F #4FA8CA
tetradic
#CA4FA8 #CAAE4F #4FCA71 #4F6BCA
square
#CA4FA8 #CAAE4F #4FCA71 #4F6BCA
split-complementary
#CA4FA8 #6BCA4F #4FCAAE
monochromatic
#7A2562 #A93388 #CA4FA8 #D87EBF #E6ADD7

Accessibility & contrast

On white

4.04
#CA4FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CA4FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FA8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FA8#FFFFFF#000000##000000
##CA4FA81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AB
Deuteranopia (green-blind)
#7A86A5
Tritanopia (blue-blind)
#D55274
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4fa8;
/* rgb */ color: rgb(202, 79, 168);
/* oklch */ color: oklch(61.8% 0.185 340.0);
Tailwind
colors: {
  custom: {
    50: '#dd87c2',
    500: '#ca4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fa8;
$custom-light: #dd87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fa8",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 316.585,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.18485,
    "h": 340
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#CA4FA8
secondary
#A1D4AF
accent
#DD734B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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