#C03840#C03840

#C03840 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.5% C 0.172 H 21.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C03840
RGBrgb(192, 56, 64)
HSLhsl(356, 55%, 49%)
HSVhsv(356, 71%, 75%)
CMYKcmyk(0%, 70.8%, 66.7%, 24.7%)
CIE-LABlab(44.81, 54.26, 27.24)
CIE-LCHlch(44.81, 60.71, 26.66°)
OKLaboklab(54.53% 0.1598 0.0642)
OKLCHoklch(54.53% 0.172 21.9)
XYZxyz(24.0804, 14.4085, 6.3626)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03840 #38C0B8
analogous
#C03884 #C03840 #C07438
triadic
#C03840 #40C038 #3840C0
tetradic
#C03840 #84C038 #38C0B8 #7438C0
square
#C03840 #84C038 #38C0B8 #7438C0
split-complementary
#C03840 #38C074 #3884C0
monochromatic
#611C20 #912A30 #C03840 #D2646A #DF9397

Accessibility & contrast

On white

5.41
#C03840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C03840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03840
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03840#FFFFFF#000000##FFFFFF
##C038401.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c03840;
/* rgb */ color: rgb(192, 56, 64);
/* oklch */ color: oklch(54.5% 0.172 21.9);
Tailwind
colors: {
  custom: {
    50: '#db7874',
    500: '#c03840',
    950: '#000000',
  },
}
SCSS
$custom: #c03840;
$custom-light: #db7874;
$custom-dark: #000000;
JSON
{
  "hex": "#c03840",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 356.471,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.17217,
    "h": 21.9
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#C03840
secondary
#89CBC7
accent
#DED54A
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #C03840

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

Preview Lab → · Contrast checker → · Palette generator →

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