#C9271D#C9271D

#C9271D is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.2% C 0.198 H 29.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C9271D
RGBrgb(201, 39, 29)
HSLhsl(3, 75%, 45%)
HSVhsv(3, 86%, 79%)
CMYKcmyk(0%, 80.6%, 85.6%, 21.2%)
CIE-LABlab(44.18, 61.14, 46.62)
CIE-LCHlch(44.18, 76.88, 37.33°)
OKLaboklab(54.23% 0.1733 0.0966)
OKLCHoklch(54.23% 0.198 29.1)
XYZxyz(25.0379, 13.9614, 2.5387)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9271D #1DBFC9
analogous
#C91D69 #C9271D #C97D1D
triadic
#C9271D #1DC927 #271DC9
tetradic
#C9271D #69C91D #1DBFC9 #7D1DC9
square
#C9271D #69C91D #1DBFC9 #7D1DC9
split-complementary
#C9271D #1DC97D #1D69C9
monochromatic
#5E120E #941D15 #C9271D #E34940 #EB7C75

Accessibility & contrast

On white

5.54
#C9271D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#C9271D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9271D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9271D#FFFFFF#000000##FFFFFF
##C9271D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5219
Deuteranopia (green-blind)
#847512
Tritanopia (blue-blind)
#DE0027
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c9271d;
/* rgb */ color: rgb(201, 39, 29);
/* oklch */ color: oklch(54.2% 0.198 29.1);
Tailwind
colors: {
  custom: {
    50: '#e4715c',
    500: '#c9271d',
    950: '#000000',
  },
}
SCSS
$custom: #c9271d;
$custom-light: #e4715c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9271d",
  "rgb": {
    "r": 201,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 3.488,
    "s": 74.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.1984,
    "h": 29.1
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#C9271D
secondary
#70CCD2
accent
#E7F136
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#180904
muted
#867B79

Preview Lab

Preview with #C9271D

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

Preview Lab → · Contrast checker → · Palette generator →

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