#C23840#C23840

#C23840 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.9% C 0.174 H 22.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C23840
RGBrgb(194, 56, 64)
HSLhsl(357, 55%, 49%)
HSVhsv(357, 71%, 76%)
CMYKcmyk(0%, 71.1%, 67%, 23.9%)
CIE-LABlab(45.18, 54.89, 27.78)
CIE-LCHlch(45.18, 61.52, 26.84°)
OKLaboklab(54.87% 0.1615 0.0653)
OKLCHoklch(54.87% 0.174 22)
XYZxyz(24.5903, 14.6715, 6.3865)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23840 #38C2BA
analogous
#C23885 #C23840 #C27538
triadic
#C23840 #40C238 #3840C2
tetradic
#C23840 #85C238 #38C2BA #7538C2
square
#C23840 #85C238 #38C2BA #7538C2
split-complementary
#C23840 #38C275 #3885C2
monochromatic
#631D21 #932A30 #C23840 #D2656B #E09499

Accessibility & contrast

On white

5.34
#C23840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C23840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23840
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23840#FFFFFF#000000##FFFFFF
##C238401.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F583F
Deuteranopia (green-blind)
#81763C
Tritanopia (blue-blind)
#D5073C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c23840;
/* rgb */ color: rgb(194, 56, 64);
/* oklch */ color: oklch(54.9% 0.174 22.0);
Tailwind
colors: {
  custom: {
    50: '#dc7874',
    500: '#c23840',
    950: '#000000',
  },
}
SCSS
$custom: #c23840;
$custom-light: #dc7874;
$custom-dark: #000000;
JSON
{
  "hex": "#c23840",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 356.522,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.17422,
    "h": 22
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#C23840
secondary
#8ACBC8
accent
#DFD649
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #C23840

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

Preview Lab → · Contrast checker → · Palette generator →

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