#C23842#C23842

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

Color values

HEX#C23842
RGBrgb(194, 56, 66)
HSLhsl(356, 55%, 49%)
HSVhsv(356, 71%, 76%)
CMYKcmyk(0%, 71.1%, 66%, 23.9%)
CIE-LABlab(45.21, 55.00, 26.61)
CIE-LCHlch(45.21, 61.10, 25.82°)
OKLaboklab(54.9% 0.1623 0.0629)
OKLCHoklch(54.9% 0.174 21.2)
XYZxyz(24.6483, 14.6946, 6.6917)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23842 #38C2B8
analogous
#C23887 #C23842 #C27338
triadic
#C23842 #42C238 #3842C2
tetradic
#C23842 #87C238 #38C2B8 #7338C2
square
#C23842 #87C238 #38C2B8 #7338C2
split-complementary
#C23842 #38C273 #3887C2
monochromatic
#631D22 #932A32 #C23842 #D2656D #E0949A

Accessibility & contrast

On white

5.33
#C23842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#C23842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23842
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23842#FFFFFF#000000##FFFFFF
##C238421.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5841
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#D5083D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c23842;
/* rgb */ color: rgb(194, 56, 66);
/* oklch */ color: oklch(54.9% 0.174 21.2);
Tailwind
colors: {
  custom: {
    50: '#dc7876',
    500: '#c23842',
    950: '#000000',
  },
}
SCSS
$custom: #c23842;
$custom-light: #dc7876;
$custom-dark: #000000;
JSON
{
  "hex": "#c23842",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 66
  },
  "hsl": {
    "h": 355.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.17406,
    "h": 21.2
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#C23842
secondary
#8ACBC7
accent
#DFD449
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #C23842

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

Preview Lab → · Contrast checker → · Palette generator →

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