#CA4F7E#CA4F7E

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

Color values

HEX#CA4F7E
RGBrgb(202, 79, 126)
HSLhsl(337, 54%, 55%)
HSVhsv(337, 61%, 79%)
CMYKcmyk(0%, 60.9%, 37.6%, 20.8%)
CIE-LABlab(51.45, 53.15, -0.89)
CIE-LCHlch(51.45, 53.16, 359.04°)
OKLaboklab(60.26% 0.1623 -0.0017)
OKLCHoklch(60.26% 0.162 359.4)
XYZxyz(30.9208, 19.6583, 21.9007)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F7E #4FCA9B
analogous
#CA4FBC #CA4F7E #CA5D4F
triadic
#CA4F7E #7ECA4F #4F7ECA
tetradic
#CA4F7E #BCCA4F #4FCA9B #5D4FCA
square
#CA4F7E #BCCA4F #4FCA9B #5D4FCA
split-complementary
#CA4F7E #4FCA5D #4FBCCA
monochromatic
#7A2545 #A93360 #CA4F7E #D87EA0 #E6ADC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA4F7E#FFFFFF#000000##000000
##CA4F7E1.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)
#656C7F
Deuteranopia (green-blind)
#86837B
Tritanopia (blue-blind)
#DA4461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4f7e;
/* rgb */ color: rgb(202, 79, 126);
/* oklch */ color: oklch(60.3% 0.162 359.4);
Tailwind
colors: {
  custom: {
    50: '#de86a3',
    500: '#ca4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f7e;
$custom-light: #de86a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f7e",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 337.073,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60259,
    "c": 0.16229,
    "h": 359.4
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#CA4F7E
secondary
#A1D4C0
accent
#DDA54B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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