#CA312F#CA312F

#CA312F is a mid, vivid red. Relative luminance 0.150; OKLCH L 55.4% C 0.190 H 26.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CA312F
RGBrgb(202, 49, 47)
HSLhsl(1, 62%, 49%)
HSVhsv(1, 77%, 79%)
CMYKcmyk(0%, 75.7%, 76.7%, 20.8%)
CIE-LABlab(45.58, 59.01, 38.55)
CIE-LCHlch(45.58, 70.49, 33.16°)
OKLaboklab(55.37% 0.17 0.0851)
OKLCHoklch(55.37% 0.19 26.6)
XYZxyz(25.9716, 14.9625, 4.2093)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA312F #2FC8CA
analogous
#CA2F7B #CA312F #CA7F2F
triadic
#CA312F #2FCA31 #312FCA
tetradic
#CA312F #7BCA2F #2FC8CA #7F2FCA
square
#CA312F #7BCA2F #2FC8CA #7F2FCA
split-complementary
#CA312F #2FCA7F #2F7BCA
monochromatic
#671918 #982523 #CA312F #D95F5D #E5908F

Accessibility & contrast

On white

5.26
#CA312F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#CA312F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA312F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA312F#FFFFFF#000000##FFFFFF
##CA312F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#DE0033
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ca312f;
/* rgb */ color: rgb(202, 49, 47);
/* oklch */ color: oklch(55.4% 0.190 26.6);
Tailwind
colors: {
  custom: {
    50: '#e37668',
    500: '#ca312f',
    950: '#000000',
  },
}
SCSS
$custom: #ca312f;
$custom-light: #e37668;
$custom-dark: #000000;
JSON
{
  "hex": "#ca312f",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.774,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.19009,
    "h": 26.6
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#CA312F
secondary
#86CECF
accent
#E3E542
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #CA312F

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

Preview Lab → · Contrast checker → · Palette generator →

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