#CA418B#CA418B

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

Color values

HEX#CA418B
RGBrgb(202, 65, 139)
HSLhsl(328, 56%, 52%)
HSVhsv(328, 68%, 79%)
CMYKcmyk(0%, 67.8%, 31.2%, 20.8%)
CIE-LABlab(49.74, 60.46, -11.22)
CIE-LCHlch(49.74, 61.49, 349.49°)
OKLaboklab(59.14% 0.1844 -0.0291)
OKLCHoklch(59.14% 0.187 351)
XYZxyz(30.9092, 18.2046, 26.3072)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA418B #41CA80
analogous
#C441CA #CA418B #CA4147
triadic
#CA418B #8BCA41 #418BCA
tetradic
#CA418B #CAC441 #41CA80 #4147CA
square
#CA418B #CAC441 #41CA80 #4147CA
split-complementary
#CA418B #47CA41 #41CAC4
monochromatic
#71204C #A12D6C #CA418B #D771A8 #E5A1C5

Accessibility & contrast

On white

4.53
#CA418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CA418B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA418B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA418B#FFFFFF#000000##000000
##CA418B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678D
Deuteranopia (green-blind)
#7D7F88
Tritanopia (blue-blind)
#D93960
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca418b;
/* rgb */ color: rgb(202, 65, 139);
/* oklch */ color: oklch(59.1% 0.187 351.0);
Tailwind
colors: {
  custom: {
    50: '#de7fac',
    500: '#ca418b',
    950: '#000000',
  },
}
SCSS
$custom: #ca418b;
$custom-light: #de7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca418b",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 327.591,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.18669,
    "h": 351
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA418B

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

Preview Lab → · Contrast checker → · Palette generator →

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