#CA4F7D#CA4F7D

#CA4F7D is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.162 H 359.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA4F7D
RGBrgb(202, 79, 125)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 61%, 79%)
CMYKcmyk(0%, 60.9%, 38.1%, 20.8%)
CIE-LABlab(51.42, 53.04, -0.34)
CIE-LCHlch(51.42, 53.04, 359.64°)
OKLaboklab(60.23% 0.1619 -0.0002)
OKLCHoklch(60.23% 0.162 359.9)
XYZxyz(30.8566, 19.6326, 21.5625)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F7D #4FCA9C
analogous
#CA4FBB #CA4F7D #CA5E4F
triadic
#CA4F7D #7DCA4F #4F7DCA
tetradic
#CA4F7D #BBCA4F #4FCA9C #5E4FCA
square
#CA4F7D #BBCA4F #4FCA9C #5E4FCA
split-complementary
#CA4F7D #4FCA5E #4FBBCA
monochromatic
#7A2545 #A9335F #CA4F7D #D87EA0 #E6ADC2

Accessibility & contrast

On white

4.26
#CA4F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA4F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F7D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F7D#FFFFFF#000000##000000
##CA4F7D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#DA4361
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4f7d;
/* rgb */ color: rgb(202, 79, 125);
/* oklch */ color: oklch(60.2% 0.162 359.9);
Tailwind
colors: {
  custom: {
    50: '#de86a2',
    500: '#ca4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f7d;
$custom-light: #de86a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f7d",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 337.561,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.16194,
    "h": 359.9
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#CA4F7D
secondary
#A1D4C1
accent
#DDA64B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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