#B02B1F#B02B1F

#B02B1F is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.171 H 29.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B02B1F
RGBrgb(176, 43, 31)
HSLhsl(5, 70%, 41%)
HSVhsv(5, 82%, 69%)
CMYKcmyk(0%, 75.6%, 82.4%, 31%)
CIE-LABlab(39.68, 52.44, 39.70)
CIE-LCHlch(39.68, 65.77, 37.13°)
OKLaboklab(50.02% 0.1491 0.0847)
OKLCHoklch(50.02% 0.171 29.6)
XYZxyz(19.0180, 11.0598, 2.4294)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B1F #1FA4B0
analogous
#B01F5B #B02B1F #B0741F
triadic
#B02B1F #1FB02B #2B1FB0
tetradic
#B02B1F #5BB01F #1FA4B0 #741FB0
square
#B02B1F #5BB01F #1FA4B0 #741FB0
split-complementary
#B02B1F #1FB074 #1F5BB0
monochromatic
#48120D #7C1E16 #B02B1F #DB3F31 #E47065

Accessibility & contrast

On white

6.54
#B02B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B02B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B1F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B1F#FFFFFF#000000##FFFFFF
##B02B1F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1C
Deuteranopia (green-blind)
#756818
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02b1f;
/* rgb */ color: rgb(176, 43, 31);
/* oklch */ color: oklch(50.0% 0.171 29.6);
Tailwind
colors: {
  custom: {
    50: '#d16f5c',
    500: '#b02b1f',
    950: '#000000',
  },
}
SCSS
$custom: #b02b1f;
$custom-light: #d16f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b1f",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 31
  },
  "hsl": {
    "h": 4.966,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.17146,
    "h": 29.6
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#B02B1F
secondary
#62C1C9
accent
#DEED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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