#CA5040#CA5040

#CA5040 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.0% C 0.159 H 30.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA5040
RGBrgb(202, 80, 64)
HSLhsl(7, 57%, 52%)
HSVhsv(7, 68%, 79%)
CMYKcmyk(0%, 60.4%, 68.3%, 20.8%)
CIE-LABlab(50.30, 47.54, 34.30)
CIE-LCHlch(50.30, 58.62, 35.81°)
OKLaboklab(58.97% 0.1374 0.0794)
OKLCHoklch(58.97% 0.159 30)
XYZxyz(28.1540, 18.6678, 6.9702)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5040 #40BACA
analogous
#CA4075 #CA5040 #CA9540
triadic
#CA5040 #40CA50 #5040CA
tetradic
#CA5040 #75CA40 #40BACA #9540CA
square
#CA5040 #75CA40 #40BACA #9540CA
split-complementary
#CA5040 #40CA95 #4075CA
monochromatic
#70291F #A03A2C #CA5040 #D77C70 #E5A8A0

Accessibility & contrast

On white

4.44
#CA5040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CA5040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5040
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5040#FFFFFF#000000##000000
##CA50401.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#DD354D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca5040;
/* rgb */ color: rgb(202, 80, 64);
/* oklch */ color: oklch(59.0% 0.159 30.0);
Tailwind
colors: {
  custom: {
    50: '#e18675',
    500: '#ca5040',
    950: '#000000',
  },
}
SCSS
$custom: #ca5040;
$custom-light: #e18675;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5040",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 6.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.1587,
    "h": 30
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#CA5040
secondary
#95CAD1
accent
#CEE048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CA5040

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

Preview Lab → · Contrast checker → · Palette generator →

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