#C03240#C03240

#C03240 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.9% C 0.178 H 20.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C03240
RGBrgb(192, 50, 64)
HSLhsl(354, 59%, 47%)
HSVhsv(354, 74%, 75%)
CMYKcmyk(0%, 74%, 66.7%, 24.7%)
CIE-LABlab(44.03, 56.41, 26.27)
CIE-LCHlch(44.03, 62.23, 24.97°)
OKLaboklab(53.95% 0.1667 0.062)
OKLCHoklch(53.95% 0.178 20.4)
XYZxyz(23.8068, 13.8614, 6.2715)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03240 #32C0B2
analogous
#C03287 #C03240 #C06B32
triadic
#C03240 #40C032 #3240C0
tetradic
#C03240 #87C032 #32C0B2 #6B32C0
square
#C03240 #87C032 #32C0B2 #6B32C0
split-complementary
#C03240 #32C06B #3287C0
monochromatic
#5F1920 #8F2530 #C03240 #D45B67 #E18B94

Accessibility & contrast

On white

5.57
#C03240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C03240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03240
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03240#FFFFFF#000000##FFFFFF
##C032401.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A553F
Deuteranopia (green-blind)
#7E733C
Tritanopia (blue-blind)
#D30038
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c03240;
/* rgb */ color: rgb(192, 50, 64);
/* oklch */ color: oklch(53.9% 0.178 20.4);
Tailwind
colors: {
  custom: {
    50: '#db7574',
    500: '#c03240',
    950: '#000000',
  },
}
SCSS
$custom: #c03240;
$custom-light: #db7574;
$custom-dark: #000000;
JSON
{
  "hex": "#c03240",
  "rgb": {
    "r": 192,
    "g": 50,
    "b": 64
  },
  "hsl": {
    "h": 354.085,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.1778,
    "h": 20.4
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#C03240
secondary
#83CBC4
accent
#E2D346
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #C03240

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

Preview Lab → · Contrast checker → · Palette generator →

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