#A12838#A12838

#A12838 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.4% C 0.156 H 18.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A12838
RGBrgb(161, 40, 56)
HSLhsl(352, 60%, 39%)
HSVhsv(352, 75%, 63%)
CMYKcmyk(0%, 75.2%, 65.2%, 36.9%)
CIE-LABlab(36.71, 49.86, 20.72)
CIE-LCHlch(36.71, 54.00, 22.57°)
OKLaboklab(47.38% 0.1482 0.0496)
OKLCHoklch(47.38% 0.156 18.5)
XYZxyz(16.1723, 9.3826, 4.7001)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12838 #28A191
analogous
#A12875 #A12838 #A15528
triadic
#A12838 #38A128 #2838A1
tetradic
#A12838 #75A128 #28A191 #5528A1
square
#A12838 #75A128 #28A191 #5528A1
split-complementary
#A12838 #28A155 #2875A1
monochromatic
#3F1016 #701C27 #A12838 #CE394C #DA6A78

Accessibility & contrast

On white

7.30
#A12838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A12838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12838
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12838#FFFFFF#000000##FFFFFF
##A128381.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4638
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#B1002F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12838;
/* rgb */ color: rgb(161, 40, 56);
/* oklch */ color: oklch(47.4% 0.156 18.5);
Tailwind
colors: {
  custom: {
    50: '#c46c6e',
    500: '#a12838',
    950: '#000000',
  },
}
SCSS
$custom: #a12838;
$custom-light: #c46c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12838",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352.066,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47383,
    "c": 0.15624,
    "h": 18.5
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#A12838
secondary
#65C0B4
accent
#E3CE44
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #A12838

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

Preview Lab → · Contrast checker → · Palette generator →

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