#A51F36#A51F36

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

Color values

HEX#A51F36
RGBrgb(165, 31, 54)
HSLhsl(350, 68%, 38%)
HSVhsv(350, 81%, 65%)
CMYKcmyk(0%, 81.2%, 67.3%, 35.3%)
CIE-LABlab(36.46, 53.79, 21.83)
CIE-LCHlch(36.46, 58.05, 22.09°)
OKLaboklab(47.33% 0.1598 0.0517)
OKLCHoklch(47.33% 0.168 17.9)
XYZxyz(16.6747, 9.2482, 4.3964)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F36 #1FA58E
analogous
#A51F79 #A51F36 #A54B1F
triadic
#A51F36 #36A51F #1F36A5
tetradic
#A51F36 #79A51F #1FA58E #4B1FA5
square
#A51F36 #79A51F #1FA58E #4B1FA5
split-complementary
#A51F36 #1FA54B #1F79A5
monochromatic
#3E0C14 #711525 #A51F36 #D72A48 #E15E74

Accessibility & contrast

On white

7.37
#A51F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A51F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F36
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F36#FFFFFF#000000##FFFFFF
##A51F361.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484436
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#B50029
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51f36;
/* rgb */ color: rgb(165, 31, 54);
/* oklch */ color: oklch(47.3% 0.168 17.9);
Tailwind
colors: {
  custom: {
    50: '#c7696c',
    500: '#a51f36',
    950: '#000000',
  },
}
SCSS
$custom: #a51f36;
$custom-light: #c7696c;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f36",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 349.701,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.16796,
    "h": 17.9
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#A51F36
secondary
#5BC5B3
accent
#EBCD3D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A51F36

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

Preview Lab → · Contrast checker → · Palette generator →

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