#CA418C#CA418C

#CA418C is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.187 H 350.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CA418C
RGBrgb(202, 65, 140)
HSLhsl(327, 56%, 52%)
HSVhsv(327, 68%, 79%)
CMYKcmyk(0%, 67.8%, 30.7%, 20.8%)
CIE-LABlab(49.78, 60.58, -11.76)
CIE-LCHlch(49.78, 61.71, 349.01°)
OKLaboklab(59.17% 0.1847 -0.0306)
OKLCHoklch(59.17% 0.187 350.6)
XYZxyz(30.9826, 18.2340, 26.6937)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA418C #41CA7F
analogous
#C341CA #CA418C #CA4148
triadic
#CA418C #8CCA41 #418CCA
tetradic
#CA418C #CAC341 #41CA7F #4148CA
square
#CA418C #CAC341 #41CA7F #4148CA
split-complementary
#CA418C #48CA41 #41CAC3
monochromatic
#71204C #A12D6C #CA418C #D771A9 #E5A1C6

Accessibility & contrast

On white

4.52
#CA418C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CA418C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA418C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA418C#FFFFFF#000000##000000
##CA418C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678E
Deuteranopia (green-blind)
#7C7F89
Tritanopia (blue-blind)
#D93961
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca418c;
/* rgb */ color: rgb(202, 65, 140);
/* oklch */ color: oklch(59.2% 0.187 350.6);
Tailwind
colors: {
  custom: {
    50: '#de7fad',
    500: '#ca418c',
    950: '#000000',
  },
}
SCSS
$custom: #ca418c;
$custom-light: #de7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca418c",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 327.153,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.18719,
    "h": 350.6
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#CA418C
secondary
#96D1B1
accent
#E08D48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA418C

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

Preview Lab → · Contrast checker → · Palette generator →

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