#A12F26#A12F26

#A12F26 is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.8% C 0.151 H 28.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A12F26
RGBrgb(161, 47, 38)
HSLhsl(4, 62%, 39%)
HSVhsv(4, 76%, 63%)
CMYKcmyk(0%, 70.8%, 76.4%, 36.9%)
CIE-LABlab(37.39, 46.31, 32.54)
CIE-LCHlch(37.39, 56.60, 35.09°)
OKLaboklab(47.81% 0.133 0.0725)
OKLCHoklch(47.81% 0.151 28.6)
XYZxyz(16.0661, 9.7525, 2.8698)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F26 #2698A1
analogous
#A1265B #A12F26 #A16D26
triadic
#A12F26 #26A12F #2F26A1
tetradic
#A12F26 #5BA126 #2698A1 #6D26A1
square
#A12F26 #5BA126 #2698A1 #6D26A1
split-complementary
#A12F26 #26A16D #265BA1
monochromatic
#3E120F #6F211A #A12F26 #CF4035 #DB6F66

Accessibility & contrast

On white

7.12
#A12F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A12F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12F26
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F26#FFFFFF#000000##FFFFFF
##A12F261.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#B1052E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12f26;
/* rgb */ color: rgb(161, 47, 38);
/* oklch */ color: oklch(47.8% 0.151 28.6);
Tailwind
colors: {
  custom: {
    50: '#c56f61',
    500: '#a12f26',
    950: '#000000',
  },
}
SCSS
$custom: #a12f26;
$custom-light: #c56f61;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f26",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 4.39,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.15149,
    "h": 28.6
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#A12F26
secondary
#62BAC1
accent
#D9E543
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140805
muted
#837B79

Preview Lab

Preview with #A12F26

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

Preview Lab → · Contrast checker → · Palette generator →

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