#CA313A#CA313A

#CA313A is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.5% C 0.189 H 23.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CA313A
RGBrgb(202, 49, 58)
HSLhsl(356, 61%, 49%)
HSVhsv(356, 76%, 79%)
CMYKcmyk(0%, 75.7%, 71.3%, 20.8%)
CIE-LABlab(45.72, 59.46, 32.35)
CIE-LCHlch(45.72, 67.69, 28.55°)
OKLaboklab(55.51% 0.1738 0.0741)
OKLCHoklch(55.51% 0.189 23.1)
XYZxyz(26.2221, 15.0627, 5.5288)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA313A #31CAC1
analogous
#CA3186 #CA313A #CA7531
triadic
#CA313A #3ACA31 #313ACA
tetradic
#CA313A #86CA31 #31CAC1 #7531CA
square
#CA313A #86CA31 #31CAC1 #7531CA
split-complementary
#CA313A #31CA75 #3186CA
monochromatic
#67191E #99252C #CA313A #D86067 #E49196

Accessibility & contrast

On white

5.23
#CA313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#CA313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA313A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA313A#FFFFFF#000000##FFFFFF
##CA313A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5739
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#DE0036
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ca313a;
/* rgb */ color: rgb(202, 49, 58);
/* oklch */ color: oklch(55.5% 0.189 23.1);
Tailwind
colors: {
  custom: {
    50: '#e37670',
    500: '#ca313a',
    950: '#000000',
  },
}
SCSS
$custom: #ca313a;
$custom-light: #e37670;
$custom-dark: #000000;
JSON
{
  "hex": "#ca313a",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 356.471,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.18891,
    "h": 23.1
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#CA313A
secondary
#88CFCB
accent
#E4DB44
background
#FFF7F6
surface
#FEEEEC
border
#D6C9C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #CA313A

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

Preview Lab → · Contrast checker → · Palette generator →

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