#B02A23#B02A23

#B02A23 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.172 H 28.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B02A23
RGBrgb(176, 42, 35)
HSLhsl(3, 67%, 41%)
HSVhsv(3, 80%, 69%)
CMYKcmyk(0%, 76.1%, 80.1%, 31%)
CIE-LABlab(39.60, 52.90, 37.45)
CIE-LCHlch(39.60, 64.81, 35.29°)
OKLaboklab(49.97% 0.1513 0.0812)
OKLCHoklch(49.97% 0.172 28.2)
XYZxyz(19.0381, 11.0104, 2.7126)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A23 #23A9B0
analogous
#B02363 #B02A23 #B07123
triadic
#B02A23 #23B02A #2A23B0
tetradic
#B02A23 #63B023 #23A9B0 #7123B0
square
#B02A23 #63B023 #23A9B0 #7123B0
split-complementary
#B02A23 #23B071 #2363B0
monochromatic
#4A120F #7D1E19 #B02A23 #D84139 #E2726C

Accessibility & contrast

On white

6.56
#B02A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B02A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A23
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A23#FFFFFF#000000##FFFFFF
##B02A231.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B21
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02a23;
/* rgb */ color: rgb(176, 42, 35);
/* oklch */ color: oklch(50.0% 0.172 28.2);
Tailwind
colors: {
  custom: {
    50: '#d16f5f',
    500: '#b02a23',
    950: '#000000',
  },
}
SCSS
$custom: #b02a23;
$custom-light: #d16f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a23",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 2.979,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.17171,
    "h": 28.2
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#B02A23
secondary
#67C3C8
accent
#E1EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02A23

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

Preview Lab → · Contrast checker → · Palette generator →

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