#CA4FA7#CA4FA7

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

Color values

HEX#CA4FA7
RGBrgb(202, 79, 167)
HSLhsl(317, 54%, 55%)
HSVhsv(317, 61%, 79%)
CMYKcmyk(0%, 60.9%, 17.3%, 20.8%)
CIE-LABlab(52.89, 58.46, -23.02)
CIE-LCHlch(52.89, 62.83, 338.51°)
OKLaboklab(61.79% 0.1735 -0.0618)
OKLCHoklch(61.79% 0.184 340.4)
XYZxyz(34.1289, 20.9415, 38.7964)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FA7 #4FCA72
analogous
#AF4FCA #CA4FA7 #CA4F6A
triadic
#CA4FA7 #A7CA4F #4FA7CA
tetradic
#CA4FA7 #CAAF4F #4FCA72 #4F6ACA
square
#CA4FA7 #CAAF4F #4FCA72 #4F6ACA
split-complementary
#CA4FA7 #6ACA4F #4FCAAF
monochromatic
#7A2562 #A93387 #CA4FA7 #D87EBF #E6ADD6

Accessibility & contrast

On white

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

On black

5.19
#CA4FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FA7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FA7#FFFFFF#000000##000000
##CA4FA71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca4fa7;
/* rgb */ color: rgb(202, 79, 167);
/* oklch */ color: oklch(61.8% 0.184 340.4);
Tailwind
colors: {
  custom: {
    50: '#dd87c1',
    500: '#ca4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fa7;
$custom-light: #dd87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fa7",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 317.073,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.18417,
    "h": 340.4
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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