#A12827#A12827

#A12827 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 26.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A12827
RGBrgb(161, 40, 39)
HSLhsl(0, 61%, 39%)
HSVhsv(0, 76%, 63%)
CMYKcmyk(0%, 75.2%, 75.8%, 36.9%)
CIE-LABlab(36.45, 48.99, 30.91)
CIE-LCHlch(36.45, 57.93, 32.25°)
OKLaboklab(47.11% 0.1417 0.0692)
OKLCHoklch(47.11% 0.158 26)
XYZxyz(15.8248, 9.2436, 2.8700)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12827 #27A0A1
analogous
#A12763 #A12827 #A16527
triadic
#A12827 #27A128 #2827A1
tetradic
#A12827 #63A127 #27A0A1 #6527A1
square
#A12827 #63A127 #27A0A1 #6527A1
split-complementary
#A12827 #27A165 #2763A1
monochromatic
#3E100F #701C1B #A12827 #CE3837 #DA6968

Accessibility & contrast

On white

7.37
#A12827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A12827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12827
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12827#FFFFFF#000000##FFFFFF
##A128271.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4526
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#B10029
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12827;
/* rgb */ color: rgb(161, 40, 39);
/* oklch */ color: oklch(47.1% 0.158 26.0);
Tailwind
colors: {
  custom: {
    50: '#c56c61',
    500: '#a12827',
    950: '#000000',
  },
}
SCSS
$custom: #a12827;
$custom-light: #c56c61;
$custom-dark: #000000;
JSON
{
  "hex": "#a12827",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.492,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.15768,
    "h": 26
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#A12827
secondary
#63C0C0
accent
#E3E444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A12827

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

Preview Lab → · Contrast checker → · Palette generator →

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