#C04231#C04231

#C04231 is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.4% C 0.165 H 30.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C04231
RGBrgb(192, 66, 49)
HSLhsl(7, 59%, 47%)
HSVhsv(7, 74%, 75%)
CMYKcmyk(0%, 65.6%, 74.5%, 24.7%)
CIE-LABlab(46.08, 49.51, 37.44)
CIE-LCHlch(46.08, 62.07, 37.10°)
OKLaboklab(55.41% 0.1417 0.0839)
OKLCHoklch(55.41% 0.165 30.6)
XYZxyz(24.2435, 15.3282, 4.5872)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04231 #31AFC0
analogous
#C03167 #C04231 #C08A31
triadic
#C04231 #31C042 #4231C0
tetradic
#C04231 #67C031 #31AFC0 #8A31C0
square
#C04231 #67C031 #31AFC0 #8A31C0
split-complementary
#C04231 #31C08A #3167C0
monochromatic
#5E2018 #8F3125 #C04231 #D56859 #E1958A

Accessibility & contrast

On white

5.17
#C04231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C04231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04231
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04231#FFFFFF#000000##FFFFFF
##C042311.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C2E
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#D31F3F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c04231;
/* rgb */ color: rgb(192, 66, 49);
/* oklch */ color: oklch(55.4% 0.165 30.6);
Tailwind
colors: {
  custom: {
    50: '#db7d6a',
    500: '#c04231',
    950: '#000000',
  },
}
SCSS
$custom: #c04231;
$custom-light: #db7d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c04231",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 7.133,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55409,
    "c": 0.16466,
    "h": 30.6
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#C04231
secondary
#82C2CB
accent
#D0E345
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #C04231

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

Preview Lab → · Contrast checker → · Palette generator →

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