#CA5742#CA5742

#CA5742 is a mid, vivid red. Relative luminance 0.198; OKLCH L 59.9% C 0.151 H 32.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA5742
RGBrgb(202, 87, 66)
HSLhsl(9, 56%, 53%)
HSVhsv(9, 67%, 79%)
CMYKcmyk(0%, 56.9%, 67.3%, 20.8%)
CIE-LABlab(51.58, 44.37, 34.69)
CIE-LCHlch(51.58, 56.32, 38.02°)
OKLaboklab(59.94% 0.1279 0.0806)
OKLCHoklch(59.94% 0.151 32.2)
XYZxyz(28.7514, 19.7700, 7.4552)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5742 #42B5CA
analogous
#CA4271 #CA5742 #CA9B42
triadic
#CA5742 #42CA57 #5742CA
tetradic
#CA5742 #71CA42 #42B5CA #9B42CA
square
#CA5742 #71CA42 #42B5CA #9B42CA
split-complementary
#CA5742 #42CA9B #4271CA
monochromatic
#722D20 #A23F2D #CA5742 #D78172 #E5ACA2

Accessibility & contrast

On white

4.24
#CA5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CA5742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5742
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5742#FFFFFF#000000##000000
##CA57421.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#756B3F
Deuteranopia (green-blind)
#92843F
Tritanopia (blue-blind)
#DD3F52
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5742;
/* rgb */ color: rgb(202, 87, 66);
/* oklch */ color: oklch(59.9% 0.151 32.2);
Tailwind
colors: {
  custom: {
    50: '#e18a77',
    500: '#ca5742',
    950: '#000000',
  },
}
SCSS
$custom: #ca5742;
$custom-light: #e18a77;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5742",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 9.265,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.15116,
    "h": 32.2
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#CA5742
secondary
#96C8D1
accent
#C8DF48
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CA5742

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

Preview Lab → · Contrast checker → · Palette generator →

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