#C03940#C03940

#C03940 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.6% C 0.171 H 22.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C03940
RGBrgb(192, 57, 64)
HSLhsl(357, 54%, 49%)
HSVhsv(357, 70%, 75%)
CMYKcmyk(0%, 70.3%, 66.7%, 24.7%)
CIE-LABlab(44.95, 53.88, 27.41)
CIE-LCHlch(44.95, 60.45, 26.96°)
OKLaboklab(54.63% 0.1586 0.0645)
OKLCHoklch(54.63% 0.171 22.1)
XYZxyz(24.1293, 14.5064, 6.3790)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03940 #39C0B9
analogous
#C03984 #C03940 #C07639
triadic
#C03940 #40C039 #3940C0
tetradic
#C03940 #84C039 #39C0B9 #7639C0
square
#C03940 #84C039 #39C0B9 #7639C0
split-complementary
#C03940 #39C076 #3984C0
monochromatic
#621D21 #912B30 #C03940 #D1656B #DF9498

Accessibility & contrast

On white

5.38
#C03940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C03940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03940
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03940#FFFFFF#000000##FFFFFF
##C039401.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#80753C
Tritanopia (blue-blind)
#D30E3D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c03940;
/* rgb */ color: rgb(192, 57, 64);
/* oklch */ color: oklch(54.6% 0.171 22.1);
Tailwind
colors: {
  custom: {
    50: '#db7874',
    500: '#c03940',
    950: '#000000',
  },
}
SCSS
$custom: #c03940;
$custom-light: #db7874;
$custom-dark: #000000;
JSON
{
  "hex": "#c03940",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 356.889,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.1712,
    "h": 22.1
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#C03940
secondary
#8ACBC7
accent
#DED64A
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #C03940

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

Preview Lab → · Contrast checker → · Palette generator →

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