#CA396D#CA396D

#CA396D is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.185 H 3.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CA396D
RGBrgb(202, 57, 109)
HSLhsl(338, 58%, 51%)
HSVhsv(338, 72%, 79%)
CMYKcmyk(0%, 71.8%, 46%, 20.8%)
CIE-LABlab(47.74, 60.24, 4.00)
CIE-LCHlch(47.74, 60.38, 3.80°)
OKLaboklab(57.35% 0.1844 0.0109)
OKLCHoklch(57.35% 0.185 3.4)
XYZxyz(28.5828, 16.5907, 16.1622)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA396D #39CA96
analogous
#CA39B5 #CA396D #CA4D39
triadic
#CA396D #6DCA39 #396DCA
tetradic
#CA396D #B5CA39 #39CA96 #4D39CA
square
#CA396D #B5CA39 #39CA96 #4D39CA
split-complementary
#CA396D #39CA4D #39B5CA
monochromatic
#6C1D39 #9C2A53 #CA396D #D76991 #E49AB4

Accessibility & contrast

On white

4.86
#CA396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CA396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA396D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA396D#FFFFFF#000000##FFFFFF
##CA396D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6E
Deuteranopia (green-blind)
#807C6A
Tritanopia (blue-blind)
#DB204F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca396d;
/* rgb */ color: rgb(202, 57, 109);
/* oklch */ color: oklch(57.4% 0.185 3.4);
Tailwind
colors: {
  custom: {
    50: '#e07b96',
    500: '#ca396d',
    950: '#000000',
  },
}
SCSS
$custom: #ca396d;
$custom-light: #e07b96;
$custom-dark: #000000;
JSON
{
  "hex": "#ca396d",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 338.483,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.18469,
    "h": 3.4
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#CA396D
secondary
#8FD0B9
accent
#E1AA47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CA396D

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

Preview Lab → · Contrast checker → · Palette generator →

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