#A23131#A23131

#A23131 is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.4% C 0.149 H 24.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A23131
RGBrgb(162, 49, 49)
HSLhsl(0, 54%, 41%)
HSVhsv(0, 70%, 64%)
CMYKcmyk(0%, 69.8%, 69.8%, 36.5%)
CIE-LABlab(38.03, 46.36, 26.75)
CIE-LCHlch(38.03, 53.53, 29.99°)
OKLaboklab(48.36% 0.1354 0.0621)
OKLCHoklch(48.36% 0.149 24.6)
XYZxyz(16.5548, 10.1022, 3.9833)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23131 #31A2A2
analogous
#A2316A #A23131 #A26A31
triadic
#A23131 #31A231 #3131A2
tetradic
#A23131 #6AA231 #31A2A2 #6A31A2
square
#A23131 #6AA231 #31A2A2 #6A31A2
split-complementary
#A23131 #31A26A #316AA2
monochromatic
#441515 #732323 #A23131 #C84848 #D67777

Accessibility & contrast

On white

6.95
#A23131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A23131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23131
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23131#FFFFFF#000000##FFFFFF
##A231311.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#6D622E
Tritanopia (blue-blind)
#B20F32
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a23131;
/* rgb */ color: rgb(162, 49, 49);
/* oklch */ color: oklch(48.4% 0.149 24.6);
Tailwind
colors: {
  custom: {
    50: '#c57069',
    500: '#a23131',
    950: '#000000',
  },
}
SCSS
$custom: #a23131;
$custom-light: #c57069;
$custom-dark: #000000;
JSON
{
  "hex": "#a23131",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 0,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.14898,
    "h": 24.6
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#A23131
secondary
#71BEBE
accent
#DDDD4B
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#140806
muted
#837B7A

Preview Lab

Preview with #A23131

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

Preview Lab → · Contrast checker → · Palette generator →

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