#B02626#B02626

#B02626 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.174 H 26.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B02626
RGBrgb(176, 38, 38)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 78.4%, 78.4%, 31%)
CIE-LABlab(39.17, 54.28, 35.31)
CIE-LCHlch(39.17, 64.76, 33.04°)
OKLaboklab(49.66% 0.1563 0.0774)
OKLCHoklch(49.66% 0.174 26.4)
XYZxyz(18.9497, 10.7593, 2.9123)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02626 #26B0B0
analogous
#B0266B #B02626 #B06B26
triadic
#B02626 #26B026 #2626B0
tetradic
#B02626 #6BB026 #26B0B0 #6B26B0
square
#B02626 #6BB026 #26B0B0 #6B26B0
split-complementary
#B02626 #26B06B #266BB0
monochromatic
#4B1010 #7E1B1B #B02626 #D53E3E #E07070

Accessibility & contrast

On white

6.66
#B02626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B02626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02626
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02626#FFFFFF#000000##FFFFFF
##B026261.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514924
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#C20028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02626;
/* rgb */ color: rgb(176, 38, 38);
/* oklch */ color: oklch(49.7% 0.174 26.4);
Tailwind
colors: {
  custom: {
    50: '#d16d61',
    500: '#b02626',
    950: '#000000',
  },
}
SCSS
$custom: #b02626;
$custom-light: #d16d61;
$custom-dark: #000000;
JSON
{
  "hex": "#b02626",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 38
  },
  "hsl": {
    "h": 0,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.17443,
    "h": 26.4
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#B02626
secondary
#6BC7C7
accent
#E7E740
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #B02626

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

Preview Lab → · Contrast checker → · Palette generator →

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