#CA4D9E#CA4D9E

#CA4D9E is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.181 H 344.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA4D9E
RGBrgb(202, 77, 158)
HSLhsl(321, 54%, 55%)
HSVhsv(321, 62%, 79%)
CMYKcmyk(0%, 61.9%, 21.8%, 20.8%)
CIE-LABlab(52.22, 58.04, -18.76)
CIE-LCHlch(52.22, 61.00, 342.09°)
OKLaboklab(61.18% 0.1741 -0.0499)
OKLCHoklch(61.18% 0.181 344)
XYZxyz(33.1836, 20.3360, 34.5187)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D9E #4DCA79
analogous
#B84DCA #CA4D9E #CA4D60
triadic
#CA4D9E #9ECA4D #4D9ECA
tetradic
#CA4D9E #CAB84D #4DCA79 #4D60CA
square
#CA4D9E #CAB84D #4DCA79 #4D60CA
split-complementary
#CA4D9E #60CA4D #4DCAB8
monochromatic
#79245B #A8327E #CA4D9E #D87CB8 #E6ABD1

Accessibility & contrast

On white

4.14
#CA4D9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CA4D9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D9E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D9E#FFFFFF#000000##000000
##CA4D9E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#586FA0
Deuteranopia (green-blind)
#7C849B
Tritanopia (blue-blind)
#D64C6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4d9e;
/* rgb */ color: rgb(202, 77, 158);
/* oklch */ color: oklch(61.2% 0.181 344.0);
Tailwind
colors: {
  custom: {
    50: '#dd86ba',
    500: '#ca4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d9e;
$custom-light: #dd86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d9e",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 321.12,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.18115,
    "h": 344
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#CA4D9E
secondary
#9FD4B2
accent
#DD7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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