#CA402A#CA402A

#CA402A is a mid, vivid red. Relative luminance 0.164; OKLCH L 56.8% C 0.178 H 31.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA402A
RGBrgb(202, 64, 42)
HSLhsl(8, 66%, 48%)
HSVhsv(8, 79%, 79%)
CMYKcmyk(0%, 68.3%, 79.2%, 20.8%)
CIE-LABlab(47.49, 53.45, 43.24)
CIE-LCHlch(47.49, 68.74, 38.97°)
OKLaboklab(56.77% 0.1516 0.0938)
OKLCHoklch(56.77% 0.178 31.8)
XYZxyz(26.6115, 16.3945, 3.9533)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA402A #2AB4CA
analogous
#CA2A64 #CA402A #CA902A
triadic
#CA402A #2ACA40 #402ACA
tetradic
#CA402A #64CA2A #2AB4CA #902ACA
square
#CA402A #64CA2A #2AB4CA #902ACA
split-complementary
#CA402A #2ACA90 #2A64CA
monochromatic
#652015 #97301F #CA402A #DC6855 #E69588

Accessibility & contrast

On white

4.91
#CA402A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA402A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA402A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA402A#FFFFFF#000000##FFFFFF
##CA402A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D26
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#DE0F3C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca402a;
/* rgb */ color: rgb(202, 64, 42);
/* oklch */ color: oklch(56.8% 0.178 31.8);
Tailwind
colors: {
  custom: {
    50: '#e37d65',
    500: '#ca402a',
    950: '#000000',
  },
}
SCSS
$custom: #ca402a;
$custom-light: #e37d65;
$custom-dark: #000000;
JSON
{
  "hex": "#ca402a",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 8.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.17825,
    "h": 31.8
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#CA402A
secondary
#80C5D0
accent
#D1E93F
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #CA402A

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

Preview Lab → · Contrast checker → · Palette generator →

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