#CA396F#CA396F

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

Color values

HEX#CA396F
RGBrgb(202, 57, 111)
HSLhsl(338, 58%, 51%)
HSVhsv(338, 72%, 79%)
CMYKcmyk(0%, 71.8%, 45%, 20.8%)
CIE-LABlab(47.80, 60.43, 2.86)
CIE-LCHlch(47.80, 60.50, 2.71°)
OKLaboklab(57.41% 0.1851 0.008)
OKLCHoklch(57.41% 0.185 2.5)
XYZxyz(28.6917, 16.6342, 16.7357)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA396F #39CA94
analogous
#CA39B8 #CA396F #CA4B39
triadic
#CA396F #6FCA39 #396FCA
tetradic
#CA396F #B8CA39 #39CA94 #4B39CA
square
#CA396F #B8CA39 #39CA94 #4B39CA
split-complementary
#CA396F #39CA4B #39B8CA
monochromatic
#6C1D3A #9C2A54 #CA396F #D76992 #E49AB5

Accessibility & contrast

On white

4.85
#CA396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CA396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA396F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA396F#FFFFFF#000000##FFFFFF
##CA396F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F70
Deuteranopia (green-blind)
#807C6C
Tritanopia (blue-blind)
#DB2150
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca396f;
/* rgb */ color: rgb(202, 57, 111);
/* oklch */ color: oklch(57.4% 0.185 2.5);
Tailwind
colors: {
  custom: {
    50: '#e07b98',
    500: '#ca396f',
    950: '#000000',
  },
}
SCSS
$custom: #ca396f;
$custom-light: #e07b98;
$custom-dark: #000000;
JSON
{
  "hex": "#ca396f",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 337.655,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.18524,
    "h": 2.5
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#CA396F
secondary
#8FD0B8
accent
#E1A847
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CA396F

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

Preview Lab → · Contrast checker → · Palette generator →

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