#CA4F9D#CA4F9D

#CA4F9D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.178 H 344.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA4F9D
RGBrgb(202, 79, 157)
HSLhsl(322, 54%, 55%)
HSVhsv(322, 61%, 79%)
CMYKcmyk(0%, 60.9%, 22.3%, 20.8%)
CIE-LABlab(52.49, 57.04, -17.75)
CIE-LCHlch(52.49, 59.74, 342.72°)
OKLaboklab(61.38% 0.1713 -0.0471)
OKLCHoklch(61.38% 0.178 344.6)
XYZxyz(33.2399, 20.5859, 34.1146)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F9D #4FCA7C
analogous
#B94FCA #CA4F9D #CA4F60
triadic
#CA4F9D #9DCA4F #4F9DCA
tetradic
#CA4F9D #CAB94F #4FCA7C #4F60CA
square
#CA4F9D #CAB94F #4FCA7C #4F60CA
split-complementary
#CA4F9D #60CA4F #4FCAB9
monochromatic
#7A255B #A9337E #CA4F9D #D87EB7 #E6ADD1

Accessibility & contrast

On white

4.10
#CA4F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CA4F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F9D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F9D#FFFFFF#000000##000000
##CA4F9D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D64E6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4f9d;
/* rgb */ color: rgb(202, 79, 157);
/* oklch */ color: oklch(61.4% 0.178 344.6);
Tailwind
colors: {
  custom: {
    50: '#dd87ba',
    500: '#ca4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f9d;
$custom-light: #dd87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f9d",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 321.951,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.17764,
    "h": 344.6
  },
  "luminance": 0.20583
}

Semantic roles & 50–950 ramp

primary
#CA4F9D
secondary
#A1D4B3
accent
#DD804B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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