#CA5042#CA5042

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

Color values

HEX#CA5042
RGBrgb(202, 80, 66)
HSLhsl(6, 56%, 53%)
HSVhsv(6, 67%, 79%)
CMYKcmyk(0%, 60.4%, 67.3%, 20.8%)
CIE-LABlab(50.32, 47.65, 33.19)
CIE-LCHlch(50.32, 58.07, 34.86°)
OKLaboklab(59% 0.1382 0.0773)
OKLCHoklch(59% 0.158 29.2)
XYZxyz(28.2119, 18.6910, 7.2753)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5042 #42BCCA
analogous
#CA4278 #CA5042 #CA9442
triadic
#CA5042 #42CA50 #5042CA
tetradic
#CA5042 #78CA42 #42BCCA #9442CA
square
#CA5042 #78CA42 #42BCCA #9442CA
split-complementary
#CA5042 #42CA94 #4278CA
monochromatic
#722820 #A2392D #CA5042 #D77C72 #E5A9A2

Accessibility & contrast

On white

4.43
#CA5042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA5042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5042
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5042#FFFFFF#000000##000000
##CA50421.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#706740
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#DD364D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca5042;
/* rgb */ color: rgb(202, 80, 66);
/* oklch */ color: oklch(59.0% 0.158 29.2);
Tailwind
colors: {
  custom: {
    50: '#e18677',
    500: '#ca5042',
    950: '#000000',
  },
}
SCSS
$custom: #ca5042;
$custom-light: #e18677;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5042",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 6.176,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.15829,
    "h": 29.2
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#CA5042
secondary
#96CBD1
accent
#D0DF48
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CA5042

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

Preview Lab → · Contrast checker → · Palette generator →

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