#CA5138#CA5138

#CA5138 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.0% C 0.160 H 33.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CA5138
RGBrgb(202, 81, 56)
HSLhsl(10, 58%, 51%)
HSVhsv(10, 72%, 79%)
CMYKcmyk(0%, 59.9%, 72.3%, 20.8%)
CIE-LABlab(50.37, 46.68, 38.83)
CIE-LCHlch(50.37, 60.72, 39.76°)
OKLaboklab(58.99% 0.1332 0.0878)
OKLCHoklch(58.99% 0.16 33.4)
XYZxyz(28.0162, 18.7308, 5.8807)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5138 #38B1CA
analogous
#CA3868 #CA5138 #CA9A38
triadic
#CA5138 #38CA51 #5138CA
tetradic
#CA5138 #68CA38 #38B1CA #9A38CA
square
#CA5138 #68CA38 #38B1CA #9A38CA
split-complementary
#CA5138 #38CA9A #3868CA
monochromatic
#6B2A1D #9B3D29 #CA5138 #D77B68 #E4A699

Accessibility & contrast

On white

4.43
#CA5138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CA5138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5138
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5138#FFFFFF#000000##000000
##CA51381.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#726735
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#DE354C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca5138;
/* rgb */ color: rgb(202, 81, 56);
/* oklch */ color: oklch(59.0% 0.160 33.4);
Tailwind
colors: {
  custom: {
    50: '#e28670',
    500: '#ca5138',
    950: '#000000',
  },
}
SCSS
$custom: #ca5138;
$custom-light: #e28670;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5138",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 10.274,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.15953,
    "h": 33.4
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#CA5138
secondary
#8EC4CF
accent
#C7E147
background
#FEF8F6
surface
#FDF0EC
border
#D5CBC7
text
#170B07
muted
#857C7A

Preview Lab

Preview with #CA5138

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

Preview Lab → · Contrast checker → · Palette generator →

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