#C03939#C03939

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

Color values

HEX#C03939
RGBrgb(192, 57, 57)
HSLhsl(0, 54%, 49%)
HSVhsv(0, 70%, 75%)
CMYKcmyk(0%, 70.3%, 70.3%, 24.7%)
CIE-LABlab(44.85, 53.51, 31.45)
CIE-LCHlch(44.85, 62.07, 30.44°)
OKLaboklab(54.52% 0.1559 0.0724)
OKLCHoklch(54.52% 0.172 24.9)
XYZxyz(23.9425, 14.4317, 5.3950)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03939 #39C0C0
analogous
#C0397D #C03939 #C07D39
triadic
#C03939 #39C039 #3939C0
tetradic
#C03939 #7DC039 #39C0C0 #7D39C0
square
#C03939 #7DC039 #39C0C0 #7D39C0
split-complementary
#C03939 #39C07D #397DC0
monochromatic
#621D1D #912B2B #C03939 #D16565 #DF9494

Accessibility & contrast

On white

5.40
#C03939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C03939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03939
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03939#FFFFFF#000000##FFFFFF
##C039391.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5838
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#D3093B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c03939;
/* rgb */ color: rgb(192, 57, 57);
/* oklch */ color: oklch(54.5% 0.172 24.9);
Tailwind
colors: {
  custom: {
    50: '#db786f',
    500: '#c03939',
    950: '#000000',
  },
}
SCSS
$custom: #c03939;
$custom-light: #db786f;
$custom-dark: #000000;
JSON
{
  "hex": "#c03939",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 57
  },
  "hsl": {
    "h": 0,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.17193,
    "h": 24.9
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#C03939
secondary
#8ACBCB
accent
#DEDE4A
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #C03939

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

Preview Lab → · Contrast checker → · Palette generator →

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