#A12837#A12837

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

Color values

HEX#A12837
RGBrgb(161, 40, 55)
HSLhsl(353, 60%, 39%)
HSVhsv(353, 75%, 63%)
CMYKcmyk(0%, 75.2%, 65.8%, 36.9%)
CIE-LABlab(36.69, 49.80, 21.33)
CIE-LCHlch(36.69, 54.18, 23.19°)
OKLaboklab(47.36% 0.1478 0.0508)
OKLCHoklch(47.36% 0.156 19)
XYZxyz(16.1480, 9.3729, 4.5726)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12837 #28A192
analogous
#A12874 #A12837 #A15628
triadic
#A12837 #37A128 #2837A1
tetradic
#A12837 #74A128 #28A192 #5628A1
square
#A12837 #74A128 #28A192 #5628A1
split-complementary
#A12837 #28A156 #2874A1
monochromatic
#3F1016 #701C26 #A12837 #CE394B #DA6A77

Accessibility & contrast

On white

7.31
#A12837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12837
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12837#FFFFFF#000000##FFFFFF
##A128371.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12837;
/* rgb */ color: rgb(161, 40, 55);
/* oklch */ color: oklch(47.4% 0.156 19.0);
Tailwind
colors: {
  custom: {
    50: '#c46c6d',
    500: '#a12837',
    950: '#000000',
  },
}
SCSS
$custom: #a12837;
$custom-light: #c46c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a12837",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 352.562,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47364,
    "c": 0.15627,
    "h": 19
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#A12837
secondary
#65C0B5
accent
#E3D044
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A12837

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

Preview Lab → · Contrast checker → · Palette generator →

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