#A12F23#A12F23

#A12F23 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.8% C 0.152 H 29.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A12F23
RGBrgb(161, 47, 35)
HSLhsl(6, 64%, 38%)
HSVhsv(6, 78%, 63%)
CMYKcmyk(0%, 70.8%, 78.3%, 36.9%)
CIE-LABlab(37.36, 46.19, 34.22)
CIE-LCHlch(37.36, 57.49, 36.54°)
OKLaboklab(47.77% 0.132 0.0754)
OKLCHoklch(47.77% 0.152 29.7)
XYZxyz(16.0197, 9.7339, 2.6251)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F23 #2395A1
analogous
#A12356 #A12F23 #A16E23
triadic
#A12F23 #23A12F #2F23A1
tetradic
#A12F23 #56A123 #2395A1 #6E23A1
square
#A12F23 #56A123 #2395A1 #6E23A1
split-complementary
#A12F23 #23A16E #2356A1
monochromatic
#3C120D #6F2018 #A12F23 #D23F2F #DD6D62

Accessibility & contrast

On white

7.13
#A12F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12F23
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F23#FFFFFF#000000##FFFFFF
##A12F231.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504821
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#B1032D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12f23;
/* rgb */ color: rgb(161, 47, 35);
/* oklch */ color: oklch(47.8% 0.152 29.7);
Tailwind
colors: {
  custom: {
    50: '#c56f5f',
    500: '#a12f23',
    950: '#000000',
  },
}
SCSS
$custom: #a12f23;
$custom-light: #c56f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f23",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 5.714,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.152,
    "h": 29.7
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#A12F23
secondary
#5EB8C2
accent
#D7E741
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #A12F23

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

Preview Lab → · Contrast checker → · Palette generator →

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