#A12828#A12828

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

Color values

HEX#A12828
RGBrgb(161, 40, 40)
HSLhsl(0, 60%, 39%)
HSVhsv(0, 75%, 63%)
CMYKcmyk(0%, 75.2%, 75.2%, 36.9%)
CIE-LABlab(36.46, 49.03, 30.33)
CIE-LCHlch(36.46, 57.65, 31.73°)
OKLaboklab(47.12% 0.142 0.0682)
OKLCHoklch(47.12% 0.158 25.7)
XYZxyz(15.8416, 9.2503, 2.9584)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12828 #28A1A1
analogous
#A12865 #A12828 #A16528
triadic
#A12828 #28A128 #2828A1
tetradic
#A12828 #65A128 #28A1A1 #6528A1
square
#A12828 #65A128 #28A1A1 #6528A1
split-complementary
#A12828 #28A165 #2865A1
monochromatic
#3F1010 #701C1C #A12828 #CE3939 #DA6A6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12828#FFFFFF#000000##FFFFFF
##A128281.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)
#4C4527
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#B1002A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12828;
/* rgb */ color: rgb(161, 40, 40);
/* oklch */ color: oklch(47.1% 0.158 25.7);
Tailwind
colors: {
  custom: {
    50: '#c56c62',
    500: '#a12828',
    950: '#000000',
  },
}
SCSS
$custom: #a12828;
$custom-light: #c56c62;
$custom-dark: #000000;
JSON
{
  "hex": "#a12828",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.15755,
    "h": 25.7
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#A12828
secondary
#65C0C0
accent
#E3E344
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A12828

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

Preview Lab → · Contrast checker → · Palette generator →

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