#C04038#C04038

#C04038 is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.3% C 0.165 H 27.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C04038
RGBrgb(192, 64, 56)
HSLhsl(4, 55%, 49%)
HSVhsv(4, 71%, 75%)
CMYKcmyk(0%, 66.7%, 70.8%, 24.7%)
CIE-LABlab(45.86, 50.67, 33.22)
CIE-LCHlch(45.86, 60.59, 33.25°)
OKLaboklab(55.27% 0.1468 0.0761)
OKLCHoklch(55.27% 0.165 27.4)
XYZxyz(24.2880, 15.1623, 5.3883)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04038 #38B8C0
analogous
#C03874 #C04038 #C08438
triadic
#C04038 #38C040 #4038C0
tetradic
#C04038 #74C038 #38B8C0 #8438C0
square
#C04038 #74C038 #38B8C0 #8438C0
split-complementary
#C04038 #38C084 #3874C0
monochromatic
#61201C #91302A #C04038 #D26A64 #DF9793

Accessibility & contrast

On white

5.21
#C04038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C04038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04038
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04038#FFFFFF#000000##FFFFFF
##C040381.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#D31D3F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c04038;
/* rgb */ color: rgb(192, 64, 56);
/* oklch */ color: oklch(55.3% 0.165 27.4);
Tailwind
colors: {
  custom: {
    50: '#db7c6f',
    500: '#c04038',
    950: '#000000',
  },
}
SCSS
$custom: #c04038;
$custom-light: #db7c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c04038",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 3.529,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.16534,
    "h": 27.4
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#C04038
secondary
#89C7CB
accent
#D5DE4A
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #C04038

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

Preview Lab → · Contrast checker → · Palette generator →

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