#CA4A7E#CA4A7E

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

Color values

HEX#CA4A7E
RGBrgb(202, 74, 126)
HSLhsl(336, 55%, 54%)
HSVhsv(336, 63%, 79%)
CMYKcmyk(0%, 63.4%, 37.6%, 20.8%)
CIE-LABlab(50.64, 55.33, -2.07)
CIE-LCHlch(50.64, 55.36, 357.86°)
OKLaboklab(59.66% 0.1691 -0.0047)
OKLCHoklch(59.66% 0.169 358.4)
XYZxyz(30.5737, 18.9639, 21.7849)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4A7E #4ACA96
analogous
#CA4ABE #CA4A7E #CA564A
triadic
#CA4A7E #7ECA4A #4A7ECA
tetradic
#CA4A7E #BECA4A #4ACA96 #564ACA
square
#CA4A7E #BECA4A #4ACA96 #564ACA
split-complementary
#CA4A7E #4ACA56 #4ABECA
monochromatic
#772345 #A63160 #CA4A7E #D879A0 #E6A9C1

Accessibility & contrast

On white

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

On black

4.79
#CA4A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4A7E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4A7E#FFFFFF#000000##000000
##CA4A7E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#DA3E5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca4a7e;
/* rgb */ color: rgb(202, 74, 126);
/* oklch */ color: oklch(59.7% 0.169 358.4);
Tailwind
colors: {
  custom: {
    50: '#de84a3',
    500: '#ca4a7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4a7e;
$custom-light: #de84a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4a7e",
  "rgb": {
    "r": 202,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 335.625,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.16917,
    "h": 358.4
  },
  "luminance": 0.1896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA4A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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