#CA4FA5#CA4FA5

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

Color values

HEX#CA4FA5
RGBrgb(202, 79, 165)
HSLhsl(318, 54%, 55%)
HSVhsv(318, 61%, 79%)
CMYKcmyk(0%, 60.9%, 18.3%, 20.8%)
CIE-LABlab(52.80, 58.17, -21.97)
CIE-LCHlch(52.80, 62.18, 339.31°)
OKLaboklab(61.71% 0.1731 -0.0589)
OKLCHoklch(61.71% 0.183 341.2)
XYZxyz(33.9454, 20.8681, 37.8302)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FA5 #4FCA74
analogous
#B24FCA #CA4FA5 #CA4F67
triadic
#CA4FA5 #A5CA4F #4FA5CA
tetradic
#CA4FA5 #CAB24F #4FCA74 #4F67CA
square
#CA4FA5 #CAB24F #4FCA74 #4F67CA
split-complementary
#CA4FA5 #67CA4F #4FCAB2
monochromatic
#7A2560 #A93385 #CA4FA5 #D87EBD #E6ADD5

Accessibility & contrast

On white

4.06
#CA4FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CA4FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FA5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FA5#FFFFFF#000000##000000
##CA4FA51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5771A8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#D55173
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca4fa5;
/* rgb */ color: rgb(202, 79, 165);
/* oklch */ color: oklch(61.7% 0.183 341.2);
Tailwind
colors: {
  custom: {
    50: '#dd87c0',
    500: '#ca4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fa5;
$custom-light: #dd87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fa5",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 318.049,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.18281,
    "h": 341.2
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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