#CA5142#CA5142

#CA5142 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.1% C 0.157 H 29.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA5142
RGBrgb(202, 81, 66)
HSLhsl(7, 56%, 53%)
HSVhsv(7, 67%, 79%)
CMYKcmyk(0%, 59.9%, 67.3%, 20.8%)
CIE-LABlab(50.50, 47.19, 33.40)
CIE-LCHlch(50.50, 57.82, 35.29°)
OKLaboklab(59.13% 0.1367 0.0777)
OKLCHoklch(59.13% 0.157 29.6)
XYZxyz(28.2857, 18.8385, 7.2999)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5142 #42BBCA
analogous
#CA4277 #CA5142 #CA9542
triadic
#CA5142 #42CA51 #5142CA
tetradic
#CA5142 #77CA42 #42BBCA #9542CA
square
#CA5142 #77CA42 #42BBCA #9542CA
split-complementary
#CA5142 #42CA95 #4277CA
monochromatic
#722920 #A23A2D #CA5142 #D77D72 #E5A9A2

Accessibility & contrast

On white

4.41
#CA5142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CA5142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5142
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5142#FFFFFF#000000##000000
##CA51421.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca5142;
/* rgb */ color: rgb(202, 81, 66);
/* oklch */ color: oklch(59.1% 0.157 29.6);
Tailwind
colors: {
  custom: {
    50: '#e18677',
    500: '#ca5142',
    950: '#000000',
  },
}
SCSS
$custom: #ca5142;
$custom-light: #e18677;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5142",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 6.618,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59126,
    "c": 0.15726,
    "h": 29.6
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5142

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

Preview Lab → · Contrast checker → · Palette generator →

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