#CA302F#CA302F

#CA302F is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.3% C 0.191 H 26.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CA302F
RGBrgb(202, 48, 47)
HSLhsl(0, 62%, 49%)
HSVhsv(0, 77%, 79%)
CMYKcmyk(0%, 76.2%, 76.7%, 20.8%)
CIE-LABlab(45.47, 59.33, 38.43)
CIE-LCHlch(45.47, 70.69, 32.93°)
OKLaboklab(55.28% 0.171 0.0848)
OKLCHoklch(55.28% 0.191 26.4)
XYZxyz(25.9302, 14.8798, 4.1955)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA302F #2FC9CA
analogous
#CA2F7C #CA302F #CA7E2F
triadic
#CA302F #2FCA30 #302FCA
tetradic
#CA302F #7CCA2F #2FC9CA #7E2FCA
square
#CA302F #7CCA2F #2FC9CA #7E2FCA
split-complementary
#CA302F #2FCA7E #2F7CCA
monochromatic
#671818 #982423 #CA302F #D95E5D #E58F8F

Accessibility & contrast

On white

5.28
#CA302F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#CA302F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA302F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA302F#FFFFFF#000000##FFFFFF
##CA302F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#857829
Tritanopia (blue-blind)
#DF0032
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ca302f;
/* rgb */ color: rgb(202, 48, 47);
/* oklch */ color: oklch(55.3% 0.191 26.4);
Tailwind
colors: {
  custom: {
    50: '#e47568',
    500: '#ca302f',
    950: '#000000',
  },
}
SCSS
$custom: #ca302f;
$custom-light: #e47568;
$custom-dark: #000000;
JSON
{
  "hex": "#ca302f",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.387,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.19088,
    "h": 26.4
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#CA302F
secondary
#86CFCF
accent
#E4E542
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CA302F

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

Preview Lab → · Contrast checker → · Palette generator →

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