#C04040#C04040

#C04040 is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.4% C 0.164 H 24.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C04040
RGBrgb(192, 64, 64)
HSLhsl(0, 50%, 50%)
HSVhsv(0, 67%, 75%)
CMYKcmyk(0%, 66.7%, 66.7%, 24.7%)
CIE-LABlab(45.97, 51.09, 28.67)
CIE-LCHlch(45.97, 58.59, 29.30°)
OKLaboklab(55.39% 0.1497 0.0673)
OKLCHoklch(55.39% 0.164 24.2)
XYZxyz(24.4996, 15.2469, 6.5024)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04040 #40C0C0
analogous
#C04080 #C04040 #C08040
triadic
#C04040 #40C040 #4040C0
tetradic
#C04040 #80C040 #40C0C0 #8040C0
square
#C04040 #80C040 #40C0C0 #8040C0
split-complementary
#C04040 #40C080 #4080C0
monochromatic
#642121 #923030 #C04040 #CF6E6E #DE9C9C

Accessibility & contrast

On white

5.19
#C04040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C04040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04040
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04040#FFFFFF#000000##FFFFFF
##C040401.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B3F
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#D31F41
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c04040;
/* rgb */ color: rgb(192, 64, 64);
/* oklch */ color: oklch(55.4% 0.164 24.2);
Tailwind
colors: {
  custom: {
    50: '#da7c75',
    500: '#c04040',
    950: '#000000',
  },
}
SCSS
$custom: #c04040;
$custom-light: #da7c75;
$custom-dark: #000000;
JSON
{
  "hex": "#c04040",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.16419,
    "h": 24.2
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#C04040
secondary
#91CBCB
accent
#DADA4E
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #C04040

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

Preview Lab → · Contrast checker → · Palette generator →

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