#A51F2B#A51F2B

#A51F2B is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.168 H 22.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A51F2B
RGBrgb(165, 31, 43)
HSLhsl(355, 68%, 38%)
HSVhsv(355, 81%, 65%)
CMYKcmyk(0%, 81.2%, 73.9%, 35.3%)
CIE-LABlab(36.28, 53.25, 28.51)
CIE-LCHlch(36.28, 60.41, 28.16°)
OKLaboklab(47.14% 0.1556 0.0647)
OKLCHoklch(47.14% 0.168 22.6)
XYZxyz(16.4450, 9.1563, 3.1865)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F2B #1FA599
analogous
#A51F6E #A51F2B #A5561F
triadic
#A51F2B #2BA51F #1F2BA5
tetradic
#A51F2B #6EA51F #1FA599 #561FA5
square
#A51F2B #6EA51F #1FA599 #561FA5
split-complementary
#A51F2B #1FA556 #1F6EA5
monochromatic
#3E0C10 #71151E #A51F2B #D72A3A #E15E69

Accessibility & contrast

On white

7.42
#A51F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A51F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F2B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F2B#FFFFFF#000000##FFFFFF
##A51F2B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49432A
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#B60025
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51f2b;
/* rgb */ color: rgb(165, 31, 43);
/* oklch */ color: oklch(47.1% 0.168 22.6);
Tailwind
colors: {
  custom: {
    50: '#c86964',
    500: '#a51f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a51f2b;
$custom-light: #c86964;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f2b",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 354.627,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.16848,
    "h": 22.6
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#A51F2B
secondary
#5BC5BC
accent
#EBDC3D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A51F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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