#CA4D7C#CA4D7C

#CA4D7C is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.164 H 360.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CA4D7C
RGBrgb(202, 77, 124)
HSLhsl(337, 54%, 55%)
HSVhsv(337, 62%, 79%)
CMYKcmyk(0%, 61.9%, 38.6%, 20.8%)
CIE-LABlab(51.06, 53.81, -0.26)
CIE-LCHlch(51.06, 53.81, 359.73°)
OKLaboklab(59.95% 0.1644 0)
OKLCHoklch(59.95% 0.164 0)
XYZxyz(30.6510, 19.3230, 21.1804)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D7C #4DCA9B
analogous
#CA4DBB #CA4D7C #CA5D4D
triadic
#CA4D7C #7CCA4D #4D7CCA
tetradic
#CA4D7C #BBCA4D #4DCA9B #5D4DCA
square
#CA4D7C #BBCA4D #4DCA9B #5D4DCA
split-complementary
#CA4D7C #4DCA5D #4DBBCA
monochromatic
#792444 #A8325E #CA4D7C #D87C9F #E6ABC1

Accessibility & contrast

On white

4.32
#CA4D7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CA4D7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D7C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D7C#FFFFFF#000000##000000
##CA4D7C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#858279
Tritanopia (blue-blind)
#DA415F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4d7c;
/* rgb */ color: rgb(202, 77, 124);
/* oklch */ color: oklch(60.0% 0.164 360.0);
Tailwind
colors: {
  custom: {
    50: '#de85a1',
    500: '#ca4d7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d7c;
$custom-light: #de85a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d7c",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 337.44,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.16436,
    "h": 360
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#CA4D7C
secondary
#9FD4C0
accent
#DDA64A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CA4D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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