#C23F31#C23F31

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

Color values

HEX#C23F31
RGBrgb(194, 63, 49)
HSLhsl(6, 60%, 48%)
HSVhsv(6, 75%, 76%)
CMYKcmyk(0%, 67.5%, 74.7%, 23.9%)
CIE-LABlab(45.97, 51.44, 37.43)
CIE-LCHlch(45.97, 63.61, 36.04°)
OKLaboklab(55.4% 0.1475 0.0837)
OKLCHoklch(55.4% 0.17 29.6)
XYZxyz(24.5828, 15.2497, 4.5542)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23F31 #31B4C2
analogous
#C2316C #C23F31 #C28731
triadic
#C23F31 #31C23F #3F31C2
tetradic
#C23F31 #6CC231 #31B4C2 #8731C2
square
#C23F31 #6CC231 #31B4C2 #8731C2
split-complementary
#C23F31 #31C287 #316CC2
monochromatic
#601F18 #912F25 #C23F31 #D6675B #E2948C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C23F31#FFFFFF#000000##FFFFFF
##C23F311.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)
#645B2E
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#D5173D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c23f31;
/* rgb */ color: rgb(194, 63, 49);
/* oklch */ color: oklch(55.4% 0.170 29.6);
Tailwind
colors: {
  custom: {
    50: '#dd7b6a',
    500: '#c23f31',
    950: '#000000',
  },
}
SCSS
$custom: #c23f31;
$custom-light: #dd7b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c23f31",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 5.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.16961,
    "h": 29.6
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#C23F31
secondary
#83C5CC
accent
#D4E345
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C23F31

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

Preview Lab → · Contrast checker → · Palette generator →

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