#CA4F9E#CA4F9E

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

Color values

HEX#CA4F9E
RGBrgb(202, 79, 158)
HSLhsl(321, 54%, 55%)
HSVhsv(321, 61%, 79%)
CMYKcmyk(0%, 60.9%, 21.8%, 20.8%)
CIE-LABlab(52.53, 57.18, -18.28)
CIE-LCHlch(52.53, 60.03, 342.27°)
OKLaboklab(61.42% 0.1715 -0.0486)
OKLCHoklch(61.42% 0.178 344.2)
XYZxyz(33.3257, 20.6202, 34.5661)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F9E #4FCA7B
analogous
#B84FCA #CA4F9E #CA4F61
triadic
#CA4F9E #9ECA4F #4F9ECA
tetradic
#CA4F9E #CAB84F #4FCA7B #4F61CA
square
#CA4F9E #CAB84F #4FCA7B #4F61CA
split-complementary
#CA4F9E #61CA4F #4FCAB8
monochromatic
#7A255B #A9337F #CA4F9E #D87EB8 #E6ADD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA4F9E#FFFFFF#000000##000000
##CA4F9E1.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)
#5A70A0
Deuteranopia (green-blind)
#7D859B
Tritanopia (blue-blind)
#D64E70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4f9e;
/* rgb */ color: rgb(202, 79, 158);
/* oklch */ color: oklch(61.4% 0.178 344.2);
Tailwind
colors: {
  custom: {
    50: '#dd87ba',
    500: '#ca4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f9e;
$custom-light: #dd87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f9e",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 321.463,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.17827,
    "h": 344.2
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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