#CA4540#CA4540

#CA4540 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.6% C 0.170 H 26.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA4540
RGBrgb(202, 69, 64)
HSLhsl(2, 57%, 52%)
HSVhsv(2, 68%, 79%)
CMYKcmyk(0%, 65.8%, 68.3%, 20.8%)
CIE-LABlab(48.49, 52.36, 32.15)
CIE-LCHlch(48.49, 61.44, 31.55°)
OKLaboklab(57.61% 0.1525 0.0747)
OKLCHoklch(57.61% 0.17 26.1)
XYZxyz(27.4135, 17.1869, 6.7234)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4540 #40C5CA
analogous
#CA4080 #CA4540 #CA8A40
triadic
#CA4540 #40CA45 #4540CA
tetradic
#CA4540 #80CA40 #40C5CA #8A40CA
square
#CA4540 #80CA40 #40C5CA #8A40CA
split-complementary
#CA4540 #40CA8A #4080CA
monochromatic
#70221F #A0312C #CA4540 #D77470 #E5A2A0

Accessibility & contrast

On white

4.73
#CA4540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CA4540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA4540
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4540#FFFFFF#000000##FFFFFF
##CA45401.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613E
Deuteranopia (green-blind)
#8B7E3C
Tritanopia (blue-blind)
#DE2345
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca4540;
/* rgb */ color: rgb(202, 69, 64);
/* oklch */ color: oklch(57.6% 0.170 26.1);
Tailwind
colors: {
  custom: {
    50: '#e28075',
    500: '#ca4540',
    950: '#000000',
  },
}
SCSS
$custom: #ca4540;
$custom-light: #e28075;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4540",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 64
  },
  "hsl": {
    "h": 2.174,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.16982,
    "h": 26.1
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#CA4540
secondary
#95CFD1
accent
#DAE048
background
#FEF8F7
surface
#FDEFED
border
#D5CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CA4540

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

Preview Lab → · Contrast checker → · Palette generator →

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