#CA396C#CA396C

#CA396C is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.3% C 0.184 H 3.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA396C
RGBrgb(202, 57, 108)
HSLhsl(339, 58%, 51%)
HSVhsv(339, 72%, 79%)
CMYKcmyk(0%, 71.8%, 46.5%, 20.8%)
CIE-LABlab(47.71, 60.15, 4.57)
CIE-LCHlch(47.71, 60.33, 4.35°)
OKLaboklab(57.32% 0.184 0.0124)
OKLCHoklch(57.32% 0.184 3.8)
XYZxyz(28.5293, 16.5693, 15.8803)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA396C #39CA97
analogous
#CA39B4 #CA396C #CA4E39
triadic
#CA396C #6CCA39 #396CCA
tetradic
#CA396C #B4CA39 #39CA97 #4E39CA
square
#CA396C #B4CA39 #39CA97 #4E39CA
split-complementary
#CA396C #39CA4E #39B4CA
monochromatic
#6C1D39 #9C2A52 #CA396C #D76990 #E49AB4

Accessibility & contrast

On white

4.87
#CA396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CA396C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA396C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA396C#FFFFFF#000000##FFFFFF
##CA396C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6D
Deuteranopia (green-blind)
#817C69
Tritanopia (blue-blind)
#DB1F4E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca396c;
/* rgb */ color: rgb(202, 57, 108);
/* oklch */ color: oklch(57.3% 0.184 3.8);
Tailwind
colors: {
  custom: {
    50: '#e07b95',
    500: '#ca396c',
    950: '#000000',
  },
}
SCSS
$custom: #ca396c;
$custom-light: #e07b95;
$custom-dark: #000000;
JSON
{
  "hex": "#ca396c",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 338.897,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.18443,
    "h": 3.8
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#CA396C
secondary
#8FD0B9
accent
#E1AB47
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CA396C

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

Preview Lab → · Contrast checker → · Palette generator →

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