#B42517#B42517

#B42517 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.181 H 30.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B42517
RGBrgb(180, 37, 23)
HSLhsl(5, 77%, 40%)
HSVhsv(5, 87%, 71%)
CMYKcmyk(0%, 79.4%, 87.2%, 29.4%)
CIE-LABlab(39.73, 55.37, 44.06)
CIE-LCHlch(39.73, 70.76, 38.51°)
OKLaboklab(50.18% 0.1564 0.0907)
OKLCHoklch(50.18% 0.181 30.1)
XYZxyz(19.6411, 11.0915, 1.9172)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42517 #17A6B4
analogous
#B41758 #B42517 #B47317
triadic
#B42517 #17B425 #2517B4
tetradic
#B42517 #58B417 #17A6B4 #7317B4
square
#B42517 #58B417 #17A6B4 #7317B4
split-complementary
#B42517 #17B473 #1758B4
monochromatic
#470F09 #7E1A10 #B42517 #E33625 #EA685B

Accessibility & contrast

On white

6.53
#B42517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B42517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42517
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42517#FFFFFF#000000##FFFFFF
##B425171.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A13
Deuteranopia (green-blind)
#76690C
Tritanopia (blue-blind)
#C70024
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42517;
/* rgb */ color: rgb(180, 37, 23);
/* oklch */ color: oklch(50.2% 0.181 30.1);
Tailwind
colors: {
  custom: {
    50: '#d56d57',
    500: '#b42517',
    950: '#000000',
  },
}
SCSS
$custom: #b42517;
$custom-light: #d56d57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42517",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 5.35,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.18081,
    "h": 30.1
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#B42517
secondary
#59C3CE
accent
#E3F434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42517

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

Preview Lab → · Contrast checker → · Palette generator →

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