#A51F38#A51F38

#A51F38 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.168 H 17.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A51F38
RGBrgb(165, 31, 56)
HSLhsl(349, 68%, 38%)
HSVhsv(349, 81%, 65%)
CMYKcmyk(0%, 81.2%, 66.1%, 35.3%)
CIE-LABlab(36.49, 53.91, 20.60)
CIE-LCHlch(36.49, 57.71, 20.92°)
OKLaboklab(47.37% 0.1606 0.0492)
OKLCHoklch(47.37% 0.168 17)
XYZxyz(16.7227, 9.2674, 4.6489)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F38 #1FA58C
analogous
#A51F7B #A51F38 #A5491F
triadic
#A51F38 #38A51F #1F38A5
tetradic
#A51F38 #7BA51F #1FA58C #491FA5
square
#A51F38 #7BA51F #1FA58C #491FA5
split-complementary
#A51F38 #1FA549 #1F7BA5
monochromatic
#3E0C15 #711527 #A51F38 #D72A4A #E15E76

Accessibility & contrast

On white

7.36
#A51F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51F38
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F38#FFFFFF#000000##FFFFFF
##A51F381.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474438
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#B5002A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51f38;
/* rgb */ color: rgb(165, 31, 56);
/* oklch */ color: oklch(47.4% 0.168 17.0);
Tailwind
colors: {
  custom: {
    50: '#c7696e',
    500: '#a51f38',
    950: '#000000',
  },
}
SCSS
$custom: #a51f38;
$custom-light: #c7696e;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f38",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 348.806,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.16795,
    "h": 17
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#A51F38
secondary
#5BC5B1
accent
#EBCB3D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A51F38

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

Preview Lab → · Contrast checker → · Palette generator →

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