#CA4D7A#CA4D7A

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

Color values

HEX#CA4D7A
RGBrgb(202, 77, 122)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 62%, 79%)
CMYKcmyk(0%, 61.9%, 39.6%, 20.8%)
CIE-LABlab(51.01, 53.60, 0.86)
CIE-LCHlch(51.01, 53.60, 0.92°)
OKLaboklab(59.89% 0.1637 0.0029)
OKLCHoklch(59.89% 0.164 1)
XYZxyz(30.5258, 19.2729, 20.5211)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D7A #4DCA9D
analogous
#CA4DB9 #CA4D7A #CA5F4D
triadic
#CA4D7A #7ACA4D #4D7ACA
tetradic
#CA4D7A #B9CA4D #4DCA9D #5F4DCA
square
#CA4D7A #B9CA4D #4DCA9D #5F4DCA
split-complementary
#CA4D7A #4DCA5F #4DB9CA
monochromatic
#792442 #A8325C #CA4D7A #D87C9D #E6ABC0

Accessibility & contrast

On white

4.33
#CA4D7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CA4D7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D7A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D7A#FFFFFF#000000##000000
##CA4D7A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#858277
Tritanopia (blue-blind)
#DA405F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca4d7a;
/* rgb */ color: rgb(202, 77, 122);
/* oklch */ color: oklch(59.9% 0.164 1.0);
Tailwind
colors: {
  custom: {
    50: '#de85a0',
    500: '#ca4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d7a;
$custom-light: #de85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d7a",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 338.4,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.16371,
    "h": 1
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#CA4D7A
secondary
#9FD4C1
accent
#DDA94A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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