#CA4D7B#CA4D7B

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

Color values

HEX#CA4D7B
RGBrgb(202, 77, 123)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 62%, 79%)
CMYKcmyk(0%, 61.9%, 39.1%, 20.8%)
CIE-LABlab(51.03, 53.70, 0.30)
CIE-LCHlch(51.03, 53.70, 0.32°)
OKLaboklab(59.92% 0.164 0.0014)
OKLCHoklch(59.92% 0.164 0.5)
XYZxyz(30.5881, 19.2978, 20.8491)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D7B #4DCA9C
analogous
#CA4DBA #CA4D7B #CA5E4D
triadic
#CA4D7B #7BCA4D #4D7BCA
tetradic
#CA4D7B #BACA4D #4DCA9C #5E4DCA
square
#CA4D7B #BACA4D #4DCA9C #5E4DCA
split-complementary
#CA4D7B #4DCA5E #4DBACA
monochromatic
#792443 #A8325D #CA4D7B #D87C9E #E6ABC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA4D7B#FFFFFF#000000##000000
##CA4D7B1.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)
#646B7C
Deuteranopia (green-blind)
#858278
Tritanopia (blue-blind)
#DA405F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4d7b;
/* rgb */ color: rgb(202, 77, 123);
/* oklch */ color: oklch(59.9% 0.164 0.5);
Tailwind
colors: {
  custom: {
    50: '#de85a1',
    500: '#ca4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d7b;
$custom-light: #de85a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d7b",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 337.92,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.16403,
    "h": 0.5
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#CA4D7B
secondary
#9FD4C0
accent
#DDA74A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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