#A23127#A23127

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

Color values

HEX#A23127
RGBrgb(162, 49, 39)
HSLhsl(5, 61%, 39%)
HSVhsv(5, 76%, 64%)
CMYKcmyk(0%, 69.8%, 75.9%, 36.5%)
CIE-LABlab(37.89, 45.88, 32.56)
CIE-LCHlch(37.89, 56.26, 35.36°)
OKLaboklab(48.22% 0.1318 0.0728)
OKLCHoklch(48.22% 0.151 28.9)
XYZxyz(16.3667, 10.0269, 2.9927)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23127 #2798A2
analogous
#A2275B #A23127 #A26F27
triadic
#A23127 #27A231 #3127A2
tetradic
#A23127 #5BA227 #2798A2 #6F27A2
square
#A23127 #5BA227 #2798A2 #6F27A2
split-complementary
#A23127 #27A26F #275BA2
monochromatic
#3F130F #71221B #A23127 #CF4437 #DB7269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23127#FFFFFF#000000##FFFFFF
##A231271.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)
#514925
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#B20B30
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a23127;
/* rgb */ color: rgb(162, 49, 39);
/* oklch */ color: oklch(48.2% 0.151 28.9);
Tailwind
colors: {
  custom: {
    50: '#c57062',
    500: '#a23127',
    950: '#000000',
  },
}
SCSS
$custom: #a23127;
$custom-light: #c57062;
$custom-dark: #000000;
JSON
{
  "hex": "#a23127",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 39
  },
  "hsl": {
    "h": 4.878,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.15051,
    "h": 28.9
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#A23127
secondary
#64B9C1
accent
#D7E443
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A23127

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

Preview Lab → · Contrast checker → · Palette generator →

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