#CA4798#CA4798

#CA4798 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.3% C 0.186 H 346.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA4798
RGBrgb(202, 71, 152)
HSLhsl(323, 55%, 54%)
HSVhsv(323, 65%, 79%)
CMYKcmyk(0%, 64.9%, 24.8%, 20.8%)
CIE-LABlab(51.07, 59.73, -16.95)
CIE-LCHlch(51.07, 62.09, 344.15°)
OKLaboklab(60.27% 0.1804 -0.0449)
OKLCHoklch(60.27% 0.186 346)
XYZxyz(32.2791, 19.3333, 31.7314)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4798 #47CA79
analogous
#BA47CA #CA4798 #CA4756
triadic
#CA4798 #98CA47 #4798CA
tetradic
#CA4798 #CABA47 #47CA79 #4756CA
square
#CA4798 #CABA47 #47CA79 #4756CA
split-complementary
#CA4798 #56CA47 #47CABA
monochromatic
#752255 #A42F78 #CA4798 #D877B3 #E5A6CD

Accessibility & contrast

On white

4.32
#CA4798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CA4798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4798
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4798#FFFFFF#000000##000000
##CA47981.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#556B9A
Deuteranopia (green-blind)
#7B8295
Tritanopia (blue-blind)
#D74569
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4798;
/* rgb */ color: rgb(202, 71, 152);
/* oklch */ color: oklch(60.3% 0.186 346.0);
Tailwind
colors: {
  custom: {
    50: '#de83b6',
    500: '#ca4798',
    950: '#000000',
  },
}
SCSS
$custom: #ca4798;
$custom-light: #de83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4798",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 322.901,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.18586,
    "h": 346
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#CA4798
secondary
#9AD2B0
accent
#DF8249
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CA4798

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

Preview Lab → · Contrast checker → · Palette generator →

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