#CA4038#CA4038

#CA4038 is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.9% C 0.176 H 27.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA4038
RGBrgb(202, 64, 56)
HSLhsl(3, 58%, 51%)
HSVhsv(3, 72%, 79%)
CMYKcmyk(0%, 68.3%, 72.3%, 20.8%)
CIE-LABlab(47.64, 54.00, 35.74)
CIE-LCHlch(47.64, 64.75, 33.50°)
OKLaboklab(56.94% 0.1561 0.0811)
OKLCHoklch(56.94% 0.176 27.5)
XYZxyz(26.9073, 16.5128, 5.5111)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4038 #38C2CA
analogous
#CA3879 #CA4038 #CA8938
triadic
#CA4038 #38CA40 #4038CA
tetradic
#CA4038 #79CA38 #38C2CA #8938CA
square
#CA4038 #79CA38 #38C2CA #8938CA
split-complementary
#CA4038 #38CA89 #3879CA
monochromatic
#6B211D #9B3029 #CA4038 #D76E68 #E49D99

Accessibility & contrast

On white

4.88
#CA4038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CA4038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA4038
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4038#FFFFFF#000000##FFFFFF
##CA40381.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E36
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#DE153F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca4038;
/* rgb */ color: rgb(202, 64, 56);
/* oklch */ color: oklch(56.9% 0.176 27.5);
Tailwind
colors: {
  custom: {
    50: '#e27d6f',
    500: '#ca4038',
    950: '#000000',
  },
}
SCSS
$custom: #ca4038;
$custom-light: #e27d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4038",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 3.288,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.17588,
    "h": 27.5
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#CA4038
secondary
#8ECCCF
accent
#D9E147
background
#FFF7F6
surface
#FEEEEC
border
#D6C9C7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CA4038

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

Preview Lab → · Contrast checker → · Palette generator →

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