#C23940#C23940

#C23940 is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.0% C 0.173 H 22.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C23940
RGBrgb(194, 57, 64)
HSLhsl(357, 55%, 49%)
HSVhsv(357, 71%, 76%)
CMYKcmyk(0%, 70.6%, 67%, 23.9%)
CIE-LABlab(45.32, 54.51, 27.94)
CIE-LCHlch(45.32, 61.26, 27.14°)
OKLaboklab(54.97% 0.1603 0.0657)
OKLCHoklch(54.97% 0.173 22.3)
XYZxyz(24.6393, 14.7694, 6.4029)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23940 #39C2BB
analogous
#C23985 #C23940 #C27739
triadic
#C23940 #40C239 #3940C2
tetradic
#C23940 #85C239 #39C2BB #7739C2
square
#C23940 #85C239 #39C2BB #7739C2
split-complementary
#C23940 #39C277 #3985C2
monochromatic
#631D21 #932B30 #C23940 #D2666C #E09599

Accessibility & contrast

On white

5.31
#C23940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C23940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23940
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23940#FFFFFF#000000##FFFFFF
##C239401.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F593F
Deuteranopia (green-blind)
#82763C
Tritanopia (blue-blind)
#D50B3D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c23940;
/* rgb */ color: rgb(194, 57, 64);
/* oklch */ color: oklch(55.0% 0.173 22.3);
Tailwind
colors: {
  custom: {
    50: '#dc7975',
    500: '#c23940',
    950: '#000000',
  },
}
SCSS
$custom: #c23940;
$custom-light: #dc7975;
$custom-dark: #000000;
JSON
{
  "hex": "#c23940",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 356.934,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.17326,
    "h": 22.3
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C23940

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

Preview Lab → · Contrast checker → · Palette generator →

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