#CA2F31#CA2F31

#CA2F31 is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.2% C 0.191 H 25.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CA2F31
RGBrgb(202, 47, 49)
HSLhsl(359, 62%, 49%)
HSVhsv(359, 77%, 79%)
CMYKcmyk(0%, 76.7%, 75.7%, 20.8%)
CIE-LABlab(45.38, 59.72, 37.20)
CIE-LCHlch(45.38, 70.36, 31.92°)
OKLaboklab(55.22% 0.1726 0.0827)
OKLCHoklch(55.22% 0.191 25.6)
XYZxyz(25.9311, 14.8154, 4.3994)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F31 #2FCAC8
analogous
#CA2F7F #CA2F31 #CA7B2F
triadic
#CA2F31 #31CA2F #2F31CA
tetradic
#CA2F31 #7FCA2F #2FCAC8 #7B2FCA
square
#CA2F31 #7FCA2F #2FCAC8 #7B2FCA
split-complementary
#CA2F31 #2FCA7B #2F7FCA
monochromatic
#671819 #982325 #CA2F31 #D95D5F #E58F90

Accessibility & contrast

On white

5.30
#CA2F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#CA2F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F31
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F31#FFFFFF#000000##FFFFFF
##CA2F311.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#DE0032
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ca2f31;
/* rgb */ color: rgb(202, 47, 49);
/* oklch */ color: oklch(55.2% 0.191 25.6);
Tailwind
colors: {
  custom: {
    50: '#e37569',
    500: '#ca2f31',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f31;
$custom-light: #e37569;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f31",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 359.226,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.19141,
    "h": 25.6
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#CA2F31
secondary
#86CFCE
accent
#E5E342
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #CA2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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