#A51F2D#A51F2D

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

Color values

HEX#A51F2D
RGBrgb(165, 31, 45)
HSLhsl(354, 68%, 38%)
HSVhsv(354, 81%, 65%)
CMYKcmyk(0%, 81.2%, 72.7%, 35.3%)
CIE-LABlab(36.31, 53.34, 27.31)
CIE-LCHlch(36.31, 59.93, 27.11°)
OKLaboklab(47.17% 0.1563 0.0625)
OKLCHoklch(47.17% 0.168 21.8)
XYZxyz(16.4826, 9.1714, 3.3845)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F2D #1FA597
analogous
#A51F70 #A51F2D #A5541F
triadic
#A51F2D #2DA51F #1F2DA5
tetradic
#A51F2D #70A51F #1FA597 #541FA5
square
#A51F2D #70A51F #1FA597 #541FA5
split-complementary
#A51F2D #1FA554 #1F70A5
monochromatic
#3E0C11 #71151F #A51F2D #D72A3C #E15E6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A51F2D#FFFFFF#000000##FFFFFF
##A51F2D1.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)
#49432C
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#B60026
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51f2d;
/* rgb */ color: rgb(165, 31, 45);
/* oklch */ color: oklch(47.2% 0.168 21.8);
Tailwind
colors: {
  custom: {
    50: '#c86966',
    500: '#a51f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a51f2d;
$custom-light: #c86966;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f2d",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 353.731,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.16832,
    "h": 21.8
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#A51F2D
secondary
#5BC5BA
accent
#EBD93D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A51F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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