#B02F1F#B02F1F

#B02F1F is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.168 H 30.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B02F1F
RGBrgb(176, 47, 31)
HSLhsl(7, 70%, 41%)
HSVhsv(7, 82%, 69%)
CMYKcmyk(0%, 73.3%, 82.4%, 31%)
CIE-LABlab(40.19, 51.03, 40.18)
CIE-LCHlch(40.19, 64.95, 38.22°)
OKLaboklab(50.4% 0.1447 0.0858)
OKLCHoklch(50.4% 0.168 30.7)
XYZxyz(19.1706, 11.3651, 2.4803)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F1F #1FA0B0
analogous
#B01F57 #B02F1F #B0771F
triadic
#B02F1F #1FB02F #2F1FB0
tetradic
#B02F1F #57B01F #1FA0B0 #771FB0
square
#B02F1F #57B01F #1FA0B0 #771FB0
split-complementary
#B02F1F #1FB077 #1F57B0
monochromatic
#48130D #7C2116 #B02F1F #DB4431 #E47365

Accessibility & contrast

On white

6.42
#B02F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B02F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F1F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F1F#FFFFFF#000000##FFFFFF
##B02F1F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1C
Deuteranopia (green-blind)
#766918
Tritanopia (blue-blind)
#C2002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02f1f;
/* rgb */ color: rgb(176, 47, 31);
/* oklch */ color: oklch(50.4% 0.168 30.7);
Tailwind
colors: {
  custom: {
    50: '#d1715d',
    500: '#b02f1f',
    950: '#000000',
  },
}
SCSS
$custom: #b02f1f;
$custom-light: #d1715d;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f1f",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 6.621,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.1682,
    "h": 30.7
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#B02F1F
secondary
#62BEC9
accent
#D9ED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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