#CA4F97#CA4F97

#CA4F97 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.174 H 347.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA4F97
RGBrgb(202, 79, 151)
HSLhsl(325, 54%, 55%)
HSVhsv(325, 61%, 79%)
CMYKcmyk(0%, 60.9%, 25.2%, 20.8%)
CIE-LABlab(52.27, 56.23, -14.54)
CIE-LCHlch(52.27, 58.08, 345.50°)
OKLaboklab(61.14% 0.1698 -0.0383)
OKLCHoklch(61.14% 0.174 347.3)
XYZxyz(32.7402, 20.3860, 31.4828)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F97 #4FCA82
analogous
#C04FCA #CA4F97 #CA4F59
triadic
#CA4F97 #97CA4F #4F97CA
tetradic
#CA4F97 #CAC04F #4FCA82 #4F59CA
square
#CA4F97 #CAC04F #4FCA82 #4F59CA
split-complementary
#CA4F97 #59CA4F #4FCAC0
monochromatic
#7A2557 #A93378 #CA4F97 #D87EB3 #E6ADCF

Accessibility & contrast

On white

4.14
#CA4F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CA4F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F97
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F97#FFFFFF#000000##000000
##CA4F971.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#7F8594
Tritanopia (blue-blind)
#D74C6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4f97;
/* rgb */ color: rgb(202, 79, 151);
/* oklch */ color: oklch(61.1% 0.174 347.3);
Tailwind
colors: {
  custom: {
    50: '#de87b5',
    500: '#ca4f97',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f97;
$custom-light: #de87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f97",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 324.878,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.17404,
    "h": 347.3
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

primary
#CA4F97
secondary
#A1D4B6
accent
#DD874B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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