#CA4E7F#CA4E7F

#CA4E7F is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.164 H 358.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA4E7F
RGBrgb(202, 78, 127)
HSLhsl(336, 54%, 55%)
HSVhsv(336, 61%, 79%)
CMYKcmyk(0%, 61.4%, 37.1%, 20.8%)
CIE-LABlab(51.31, 53.71, -1.69)
CIE-LCHlch(51.31, 53.73, 358.20°)
OKLaboklab(60.17% 0.164 -0.0037)
OKLCHoklch(60.17% 0.164 358.7)
XYZxyz(30.9141, 19.5411, 22.2183)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4E7F #4ECA99
analogous
#CA4EBD #CA4E7F #CA5B4E
triadic
#CA4E7F #7FCA4E #4E7FCA
tetradic
#CA4E7F #BDCA4E #4ECA99 #5B4ECA
square
#CA4E7F #BDCA4E #4ECA99 #5B4ECA
split-complementary
#CA4E7F #4ECA5B #4EBDCA
monochromatic
#792446 #A83261 #CA4E7F #D87DA1 #E6ACC3

Accessibility & contrast

On white

4.28
#CA4E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CA4E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4E7F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4E7F#FFFFFF#000000##000000
##CA4E7F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#DA4361
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4e7f;
/* rgb */ color: rgb(202, 78, 127);
/* oklch */ color: oklch(60.2% 0.164 358.7);
Tailwind
colors: {
  custom: {
    50: '#de86a4',
    500: '#ca4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca4e7f;
$custom-light: #de86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4e7f",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 336.29,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60169,
    "c": 0.16404,
    "h": 358.7
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#CA4E7F
secondary
#A0D4BF
accent
#DDA34B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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