#CA4240#CA4240

#CA4240 is a mid, vivid red. Relative luminance 0.168; OKLCH L 57.3% C 0.173 H 25.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA4240
RGBrgb(202, 66, 64)
HSLhsl(1, 57%, 52%)
HSVhsv(1, 68%, 79%)
CMYKcmyk(0%, 67.3%, 68.3%, 20.8%)
CIE-LABlab(48.04, 53.59, 31.60)
CIE-LCHlch(48.04, 62.21, 30.53°)
OKLaboklab(57.27% 0.1564 0.0735)
OKLCHoklch(57.27% 0.173 25.2)
XYZxyz(27.2336, 16.8271, 6.6634)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4240 #40C8CA
analogous
#CA4083 #CA4240 #CA8740
triadic
#CA4240 #40CA42 #4240CA
tetradic
#CA4240 #83CA40 #40C8CA #8740CA
square
#CA4240 #83CA40 #40C8CA #8740CA
split-complementary
#CA4240 #40CA87 #4083CA
monochromatic
#70201F #A02E2C #CA4240 #D77170 #E5A1A0

Accessibility & contrast

On white

4.81
#CA4240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CA4240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA4240
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4240#FFFFFF#000000##FFFFFF
##CA42401.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3F
Deuteranopia (green-blind)
#897D3C
Tritanopia (blue-blind)
#DE1D43
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca4240;
/* rgb */ color: rgb(202, 66, 64);
/* oklch */ color: oklch(57.3% 0.173 25.2);
Tailwind
colors: {
  custom: {
    50: '#e27e75',
    500: '#ca4240',
    950: '#000000',
  },
}
SCSS
$custom: #ca4240;
$custom-light: #e27e75;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4240",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 0.87,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.1728,
    "h": 25.2
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#CA4240
secondary
#95D0D1
accent
#DEE048
background
#FEF8F7
surface
#FDEFED
border
#D5CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CA4240

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

Preview Lab → · Contrast checker → · Palette generator →

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