#A51F2C#A51F2C

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

Color values

HEX#A51F2C
RGBrgb(165, 31, 44)
HSLhsl(354, 68%, 38%)
HSVhsv(354, 81%, 65%)
CMYKcmyk(0%, 81.2%, 73.3%, 35.3%)
CIE-LABlab(36.30, 53.30, 27.91)
CIE-LCHlch(36.30, 60.16, 27.64°)
OKLaboklab(47.16% 0.1559 0.0636)
OKLCHoklch(47.16% 0.168 22.2)
XYZxyz(16.4636, 9.1638, 3.2843)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F2C #1FA598
analogous
#A51F6F #A51F2C #A5551F
triadic
#A51F2C #2CA51F #1F2CA5
tetradic
#A51F2C #6FA51F #1FA598 #551FA5
square
#A51F2C #6FA51F #1FA598 #551FA5
split-complementary
#A51F2C #1FA555 #1F6FA5
monochromatic
#3E0C11 #71151E #A51F2C #D72A3B #E15E6A

Accessibility & contrast

On white

7.41
#A51F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51F2C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F2C#FFFFFF#000000##FFFFFF
##A51F2C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a51f2c;
/* rgb */ color: rgb(165, 31, 44);
/* oklch */ color: oklch(47.2% 0.168 22.2);
Tailwind
colors: {
  custom: {
    50: '#c86965',
    500: '#a51f2c',
    950: '#000000',
  },
}
SCSS
$custom: #a51f2c;
$custom-light: #c86965;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f2c",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 354.179,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.1684,
    "h": 22.2
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#A51F2C
secondary
#5BC5BB
accent
#EBDA3D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A51F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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