#A12728#A12728

#A12728 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.0% C 0.158 H 25.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A12728
RGBrgb(161, 39, 40)
HSLhsl(360, 61%, 39%)
HSVhsv(360, 76%, 63%)
CMYKcmyk(0%, 75.8%, 75.2%, 36.9%)
CIE-LABlab(36.34, 49.38, 30.18)
CIE-LCHlch(36.34, 57.88, 31.43°)
OKLaboklab(47.02% 0.1431 0.0679)
OKLCHoklch(47.02% 0.158 25.4)
XYZxyz(15.8083, 9.1838, 2.9473)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12728 #27A1A0
analogous
#A12765 #A12728 #A16327
triadic
#A12728 #28A127 #2728A1
tetradic
#A12728 #65A127 #27A1A0 #6327A1
square
#A12728 #65A127 #27A1A0 #6327A1
split-complementary
#A12728 #27A163 #2765A1
monochromatic
#3E0F10 #701B1C #A12728 #CE3738 #DA6869

Accessibility & contrast

On white

7.40
#A12728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A12728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12728
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12728#FFFFFF#000000##FFFFFF
##A127281.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4527
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#B10029
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12728;
/* rgb */ color: rgb(161, 39, 40);
/* oklch */ color: oklch(47.0% 0.158 25.4);
Tailwind
colors: {
  custom: {
    50: '#c56b62',
    500: '#a12728',
    950: '#000000',
  },
}
SCSS
$custom: #a12728;
$custom-light: #c56b62;
$custom-dark: #000000;
JSON
{
  "hex": "#a12728",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.508,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47024,
    "c": 0.15841,
    "h": 25.4
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#A12728
secondary
#63C0C0
accent
#E4E344
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A12728

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

Preview Lab → · Contrast checker → · Palette generator →

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