#CA4F91#CA4F91

#CA4F91 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.171 H 350.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA4F91
RGBrgb(202, 79, 145)
HSLhsl(328, 54%, 55%)
HSVhsv(328, 61%, 79%)
CMYKcmyk(0%, 60.9%, 28.2%, 20.8%)
CIE-LABlab(52.06, 55.44, -11.31)
CIE-LCHlch(52.06, 56.58, 348.47°)
OKLaboklab(60.91% 0.1682 -0.0294)
OKLCHoklch(60.91% 0.171 350.1)
XYZxyz(32.2653, 20.1961, 28.9816)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F91 #4FCA88
analogous
#C64FCA #CA4F91 #CA4F53
triadic
#CA4F91 #91CA4F #4F91CA
tetradic
#CA4F91 #CAC64F #4FCA88 #4F53CA
square
#CA4F91 #CAC64F #4FCA88 #4F53CA
split-complementary
#CA4F91 #53CA4F #4FCAC6
monochromatic
#7A2552 #A93372 #CA4F91 #D87EAE #E6ADCC

Accessibility & contrast

On white

4.17
#CA4F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CA4F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F91
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F91#FFFFFF#000000##000000
##CA4F911.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E93
Deuteranopia (green-blind)
#81848E
Tritanopia (blue-blind)
#D84A6A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4f91;
/* rgb */ color: rgb(202, 79, 145);
/* oklch */ color: oklch(60.9% 0.171 350.1);
Tailwind
colors: {
  custom: {
    50: '#de87b1',
    500: '#ca4f91',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f91;
$custom-light: #de87b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f91",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 327.805,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.17072,
    "h": 350.1
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#CA4F91
secondary
#A1D4B9
accent
#DD8F4B
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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