#A23126#A23126

#A23126 is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.2% C 0.151 H 29.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A23126
RGBrgb(162, 49, 38)
HSLhsl(5, 62%, 39%)
HSVhsv(5, 77%, 64%)
CMYKcmyk(0%, 69.8%, 76.5%, 36.5%)
CIE-LABlab(37.88, 45.84, 33.12)
CIE-LCHlch(37.88, 56.55, 35.85°)
OKLaboklab(48.2% 0.1314 0.0737)
OKLCHoklch(48.2% 0.151 29.3)
XYZxyz(16.3503, 10.0204, 2.9065)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23126 #2697A2
analogous
#A22659 #A23126 #A26F26
triadic
#A23126 #26A231 #3126A2
tetradic
#A23126 #59A226 #2697A2 #6F26A2
square
#A23126 #59A226 #2697A2 #6F26A2
split-complementary
#A23126 #26A26F #2659A2
monochromatic
#3F130F #70221A #A23126 #D04335 #DB7167

Accessibility & contrast

On white

6.99
#A23126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A23126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23126
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23126#FFFFFF#000000##FFFFFF
##A231261.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524924
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#B20A2F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a23126;
/* rgb */ color: rgb(162, 49, 38);
/* oklch */ color: oklch(48.2% 0.151 29.3);
Tailwind
colors: {
  custom: {
    50: '#c67061',
    500: '#a23126',
    950: '#000000',
  },
}
SCSS
$custom: #a23126;
$custom-light: #c67061;
$custom-dark: #000000;
JSON
{
  "hex": "#a23126",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 38
  },
  "hsl": {
    "h": 5.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.15068,
    "h": 29.3
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#A23126
secondary
#63B9C1
accent
#D7E543
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A23126

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

Preview Lab → · Contrast checker → · Palette generator →

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