#CA316F#CA316F

#CA316F is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.194 H 1.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA316F
RGBrgb(202, 49, 111)
HSLhsl(336, 61%, 49%)
HSVhsv(336, 76%, 79%)
CMYKcmyk(0%, 75.7%, 45%, 20.8%)
CIE-LABlab(46.85, 63.08, 1.49)
CIE-LCHlch(46.85, 63.10, 1.35°)
OKLaboklab(56.71% 0.1936 0.0045)
OKLCHoklch(56.71% 0.194 1.3)
XYZxyz(28.3269, 15.9046, 16.6141)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA316F #31CA8C
analogous
#CA31BC #CA316F #CA3F31
triadic
#CA316F #6FCA31 #316FCA
tetradic
#CA316F #BCCA31 #31CA8C #3F31CA
square
#CA316F #BCCA31 #31CA8C #3F31CA
split-complementary
#CA316F #31CA3F #31BCCA
monochromatic
#671939 #992554 #CA316F #D86091 #E491B3

Accessibility & contrast

On white

5.02
#CA316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA316F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA316F#FFFFFF#000000##FFFFFF
##CA316F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C70
Deuteranopia (green-blind)
#7E7A6B
Tritanopia (blue-blind)
#DB114C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca316f;
/* rgb */ color: rgb(202, 49, 111);
/* oklch */ color: oklch(56.7% 0.194 1.3);
Tailwind
colors: {
  custom: {
    50: '#e07798',
    500: '#ca316f',
    950: '#000000',
  },
}
SCSS
$custom: #ca316f;
$custom-light: #e07798;
$custom-dark: #000000;
JSON
{
  "hex": "#ca316f",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 335.686,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.19362,
    "h": 1.3
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#CA316F
secondary
#88CFB2
accent
#E4A344
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CA316F

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

Preview Lab → · Contrast checker → · Palette generator →

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