#CA4D98#CA4D98

#CA4D98 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.178 H 346.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA4D98
RGBrgb(202, 77, 152)
HSLhsl(324, 54%, 55%)
HSVhsv(324, 62%, 79%)
CMYKcmyk(0%, 61.9%, 24.8%, 20.8%)
CIE-LABlab(51.99, 57.23, -15.56)
CIE-LCHlch(51.99, 59.30, 344.79°)
OKLaboklab(60.94% 0.1727 -0.0411)
OKLCHoklch(60.94% 0.178 346.6)
XYZxyz(32.6797, 20.1345, 31.8649)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D98 #4DCA7F
analogous
#BE4DCA #CA4D98 #CA4D5A
triadic
#CA4D98 #98CA4D #4D98CA
tetradic
#CA4D98 #CABE4D #4DCA7F #4D5ACA
square
#CA4D98 #CABE4D #4DCA7F #4D5ACA
split-complementary
#CA4D98 #5ACA4D #4DCABE
monochromatic
#792457 #A83279 #CA4D98 #D87CB3 #E6ABCF

Accessibility & contrast

On white

4.18
#CA4D98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA4D98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D98
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D98#FFFFFF#000000##000000
##CA4D981.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E9A
Deuteranopia (green-blind)
#7E8495
Tritanopia (blue-blind)
#D74A6C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4d98;
/* rgb */ color: rgb(202, 77, 152);
/* oklch */ color: oklch(60.9% 0.178 346.6);
Tailwind
colors: {
  custom: {
    50: '#de86b6',
    500: '#ca4d98',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d98;
$custom-light: #de86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d98",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 324,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.17751,
    "h": 346.6
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#CA4D98
secondary
#9FD4B4
accent
#DD854A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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