#CA4040#CA4040

#CA4040 is a mid, vivid red. Relative luminance 0.166; OKLCH L 57.1% C 0.175 H 24.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CA4040
RGBrgb(202, 64, 64)
HSLhsl(0, 57%, 52%)
HSVhsv(0, 68%, 79%)
CMYKcmyk(0%, 68.3%, 68.3%, 20.8%)
CIE-LABlab(47.75, 54.39, 31.25)
CIE-LCHlch(47.75, 62.72, 29.88°)
OKLaboklab(57.05% 0.1589 0.0727)
OKLCHoklch(57.05% 0.175 24.6)
XYZxyz(27.1188, 16.5974, 6.6251)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4040 #40CACA
analogous
#CA4085 #CA4040 #CA8540
triadic
#CA4040 #40CA40 #4040CA
tetradic
#CA4040 #85CA40 #40CACA #8540CA
square
#CA4040 #85CA40 #40CACA #8540CA
split-complementary
#CA4040 #40CA85 #4085CA
monochromatic
#701F1F #A02C2C #CA4040 #D77070 #E5A0A0

Accessibility & contrast

On white

4.86
#CA4040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CA4040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA4040
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4040#FFFFFF#000000##FFFFFF
##CA40401.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3F
Deuteranopia (green-blind)
#897C3C
Tritanopia (blue-blind)
#DE1842
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca4040;
/* rgb */ color: rgb(202, 64, 64);
/* oklch */ color: oklch(57.1% 0.175 24.6);
Tailwind
colors: {
  custom: {
    50: '#e27d75',
    500: '#ca4040',
    950: '#000000',
  },
}
SCSS
$custom: #ca4040;
$custom-light: #e27d75;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4040",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.17476,
    "h": 24.6
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#CA4040
secondary
#95D1D1
accent
#E0E048
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CA4040

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

Preview Lab → · Contrast checker → · Palette generator →

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