#B02A26#B02A26

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

Color values

HEX#B02A26
RGBrgb(176, 42, 38)
HSLhsl(2, 64%, 42%)
HSVhsv(2, 78%, 69%)
CMYKcmyk(0%, 76.1%, 78.4%, 31%)
CIE-LABlab(39.63, 53.01, 35.79)
CIE-LCHlch(39.63, 63.96, 34.03°)
OKLaboklab(50% 0.1523 0.0785)
OKLCHoklch(50% 0.171 27.3)
XYZxyz(19.0846, 11.0290, 2.9573)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A26 #26ACB0
analogous
#B02667 #B02A26 #B06F26
triadic
#B02A26 #26B02A #2A26B0
tetradic
#B02A26 #67B026 #26ACB0 #6F26B0
square
#B02A26 #67B026 #26ACB0 #6F26B0
split-complementary
#B02A26 #26B06F #2667B0
monochromatic
#4B1210 #7E1E1B #B02A26 #D5423E #E07370

Accessibility & contrast

On white

6.55
#B02A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A26
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A26#FFFFFF#000000##FFFFFF
##B02A261.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B24
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#C2002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02a26;
/* rgb */ color: rgb(176, 42, 38);
/* oklch */ color: oklch(50.0% 0.171 27.3);
Tailwind
colors: {
  custom: {
    50: '#d16f61',
    500: '#b02a26',
    950: '#000000',
  },
}
SCSS
$custom: #b02a26;
$custom-light: #d16f61;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a26",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 1.739,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5,
    "c": 0.17131,
    "h": 27.3
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#B02A26
secondary
#6BC4C7
accent
#E3E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02A26

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

Preview Lab → · Contrast checker → · Palette generator →

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