#CA5240#CA5240

#CA5240 is a mid, vivid red. Relative luminance 0.190; OKLCH L 59.2% C 0.157 H 30.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA5240
RGBrgb(202, 82, 64)
HSLhsl(8, 57%, 52%)
HSVhsv(8, 68%, 79%)
CMYKcmyk(0%, 59.4%, 68.3%, 20.8%)
CIE-LABlab(50.65, 46.62, 34.71)
CIE-LCHlch(50.65, 58.12, 36.67°)
OKLaboklab(59.23% 0.1345 0.0803)
OKLCHoklch(59.23% 0.157 30.8)
XYZxyz(28.3026, 18.9651, 7.0198)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5240 #40B8CA
analogous
#CA4073 #CA5240 #CA9740
triadic
#CA5240 #40CA52 #5240CA
tetradic
#CA5240 #73CA40 #40B8CA #9740CA
square
#CA5240 #73CA40 #40B8CA #9740CA
split-complementary
#CA5240 #40CA97 #4073CA
monochromatic
#702A1F #A03C2C #CA5240 #D77D70 #E5A9A0

Accessibility & contrast

On white

4.38
#CA5240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CA5240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5240
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5240#FFFFFF#000000##000000
##CA52401.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#90823D
Tritanopia (blue-blind)
#DD384E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca5240;
/* rgb */ color: rgb(202, 82, 64);
/* oklch */ color: oklch(59.2% 0.157 30.8);
Tailwind
colors: {
  custom: {
    50: '#e18775',
    500: '#ca5240',
    950: '#000000',
  },
}
SCSS
$custom: #ca5240;
$custom-light: #e18775;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5240",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 7.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.15667,
    "h": 30.8
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#CA5240
secondary
#95C9D1
accent
#CCE048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CA5240

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

Preview Lab → · Contrast checker → · Palette generator →

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