#A12731#A12731

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

Color values

HEX#A12731
RGBrgb(161, 39, 49)
HSLhsl(355, 61%, 39%)
HSVhsv(355, 76%, 63%)
CMYKcmyk(0%, 75.8%, 69.6%, 36.9%)
CIE-LABlab(36.47, 49.81, 24.82)
CIE-LCHlch(36.47, 55.65, 26.48°)
OKLaboklab(47.16% 0.1465 0.0579)
OKLCHoklch(47.16% 0.158 21.5)
XYZxyz(15.9796, 9.2523, 3.8496)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12731 #27A197
analogous
#A1276E #A12731 #A15A27
triadic
#A12731 #31A127 #2731A1
tetradic
#A12731 #6EA127 #27A197 #5A27A1
square
#A12731 #6EA127 #27A197 #5A27A1
split-complementary
#A12731 #27A15A #276EA1
monochromatic
#3E0F13 #701B22 #A12731 #CE3743 #DA6871

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12731#FFFFFF#000000##FFFFFF
##A127311.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)
#4A4530
Deuteranopia (green-blind)
#695F2D
Tritanopia (blue-blind)
#B1002C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12731;
/* rgb */ color: rgb(161, 39, 49);
/* oklch */ color: oklch(47.2% 0.158 21.5);
Tailwind
colors: {
  custom: {
    50: '#c46c69',
    500: '#a12731',
    950: '#000000',
  },
}
SCSS
$custom: #a12731;
$custom-light: #c46c69;
$custom-dark: #000000;
JSON
{
  "hex": "#a12731",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355.082,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.15752,
    "h": 21.5
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#A12731
secondary
#63C0B9
accent
#E4D744
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A12731

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

Preview Lab → · Contrast checker → · Palette generator →

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