#A51F34#A51F34

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

Color values

HEX#A51F34
RGBrgb(165, 31, 52)
HSLhsl(351, 68%, 38%)
HSVhsv(351, 81%, 65%)
CMYKcmyk(0%, 81.2%, 68.5%, 35.3%)
CIE-LABlab(36.42, 53.69, 23.06)
CIE-LCHlch(36.42, 58.43, 23.24°)
OKLaboklab(47.29% 0.159 0.0542)
OKLCHoklch(47.29% 0.168 18.8)
XYZxyz(16.6287, 9.2298, 4.1541)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F34 #1FA590
analogous
#A51F77 #A51F34 #A54D1F
triadic
#A51F34 #34A51F #1F34A5
tetradic
#A51F34 #77A51F #1FA590 #4D1FA5
square
#A51F34 #77A51F #1FA590 #4D1FA5
split-complementary
#A51F34 #1FA54D #1F77A5
monochromatic
#3E0C14 #711524 #A51F34 #D72A45 #E15E72

Accessibility & contrast

On white

7.38
#A51F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51F34
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F34#FFFFFF#000000##FFFFFF
##A51F341.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484434
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51f34;
/* rgb */ color: rgb(165, 31, 52);
/* oklch */ color: oklch(47.3% 0.168 18.8);
Tailwind
colors: {
  custom: {
    50: '#c8696b',
    500: '#a51f34',
    950: '#000000',
  },
}
SCSS
$custom: #a51f34;
$custom-light: #c8696b;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f34",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 350.597,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.16799,
    "h": 18.8
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#A51F34
secondary
#5BC5B4
accent
#EBD03D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A51F34

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

Preview Lab → · Contrast checker → · Palette generator →

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