#C04031#C04031

#C04031 is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.2% C 0.167 H 29.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C04031
RGBrgb(192, 64, 49)
HSLhsl(6, 59%, 47%)
HSVhsv(6, 74%, 75%)
CMYKcmyk(0%, 66.7%, 74.5%, 24.7%)
CIE-LABlab(45.77, 50.35, 37.10)
CIE-LCHlch(45.77, 62.54, 36.39°)
OKLaboklab(55.18% 0.1443 0.0831)
OKLCHoklch(55.18% 0.167 29.9)
XYZxyz(24.1287, 15.0985, 4.5489)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04031 #31B1C0
analogous
#C03169 #C04031 #C08831
triadic
#C04031 #31C040 #4031C0
tetradic
#C04031 #69C031 #31B1C0 #8831C0
square
#C04031 #69C031 #31B1C0 #8831C0
split-complementary
#C04031 #31C088 #3169C0
monochromatic
#5E1F18 #8F3025 #C04031 #D56659 #E1938A

Accessibility & contrast

On white

5.23
#C04031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C04031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04031
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04031#FFFFFF#000000##FFFFFF
##C040311.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2E
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#D31B3D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c04031;
/* rgb */ color: rgb(192, 64, 49);
/* oklch */ color: oklch(55.2% 0.167 29.9);
Tailwind
colors: {
  custom: {
    50: '#db7c6a',
    500: '#c04031',
    950: '#000000',
  },
}
SCSS
$custom: #c04031;
$custom-light: #db7c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c04031",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 49
  },
  "hsl": {
    "h": 6.294,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.16656,
    "h": 29.9
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#C04031
secondary
#82C3CB
accent
#D2E345
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #C04031

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

Preview Lab → · Contrast checker → · Palette generator →

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