#CA4A7F#CA4A7F

#CA4A7F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.170 H 357.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA4A7F
RGBrgb(202, 74, 127)
HSLhsl(335, 55%, 54%)
HSVhsv(335, 63%, 79%)
CMYKcmyk(0%, 63.4%, 37.1%, 20.8%)
CIE-LABlab(50.68, 55.44, -2.63)
CIE-LCHlch(50.68, 55.50, 357.29°)
OKLaboklab(59.69% 0.1694 -0.0062)
OKLCHoklch(59.69% 0.17 357.9)
XYZxyz(30.6385, 18.9899, 22.1265)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4A7F #4ACA95
analogous
#CA4ABF #CA4A7F #CA554A
triadic
#CA4A7F #7FCA4A #4A7FCA
tetradic
#CA4A7F #BFCA4A #4ACA95 #554ACA
square
#CA4A7F #BFCA4A #4ACA95 #554ACA
split-complementary
#CA4A7F #4ACA55 #4ABFCA
monochromatic
#772346 #A63161 #CA4A7F #D879A0 #E6A9C2

Accessibility & contrast

On white

4.38
#CA4A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CA4A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4A7F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4A7F#FFFFFF#000000##000000
##CA4A7F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616980
Deuteranopia (green-blind)
#83827C
Tritanopia (blue-blind)
#DA3E5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca4a7f;
/* rgb */ color: rgb(202, 74, 127);
/* oklch */ color: oklch(59.7% 0.170 357.9);
Tailwind
colors: {
  custom: {
    50: '#de84a4',
    500: '#ca4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca4a7f;
$custom-light: #de84a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4a7f",
  "rgb": {
    "r": 202,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 335.156,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.16953,
    "h": 357.9
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#CA4A7F
secondary
#9DD3BD
accent
#DEA14A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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