#B02126#B02126

#B02126 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 25.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B02126
RGBrgb(176, 33, 38)
HSLhsl(358, 68%, 41%)
HSVhsv(358, 81%, 69%)
CMYKcmyk(0%, 81.3%, 78.4%, 31%)
CIE-LABlab(38.66, 55.74, 34.77)
CIE-LCHlch(38.66, 65.69, 31.95°)
OKLaboklab(49.28% 0.1609 0.0762)
OKLCHoklch(49.28% 0.178 25.4)
XYZxyz(18.8005, 10.4608, 2.8626)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02126 #21B0AB
analogous
#B0216D #B02126 #B06321
triadic
#B02126 #26B021 #2126B0
tetradic
#B02126 #6DB021 #21B0AB #6321B0
square
#B02126 #6DB021 #21B0AB #6321B0
split-complementary
#B02126 #21B063 #216DB0
monochromatic
#490E10 #7C171B #B02126 #D9353B #E3696D

Accessibility & contrast

On white

6.79
#B02126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#B02126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02126
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02126#FFFFFF#000000##FFFFFF
##B021261.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4724
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#C20025
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b02126;
/* rgb */ color: rgb(176, 33, 38);
/* oklch */ color: oklch(49.3% 0.178 25.4);
Tailwind
colors: {
  custom: {
    50: '#d16b61',
    500: '#b02126',
    950: '#000000',
  },
}
SCSS
$custom: #b02126;
$custom-light: #d16b61;
$custom-dark: #000000;
JSON
{
  "hex": "#b02126",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 357.902,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.17804,
    "h": 25.4
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#B02126
secondary
#64C8C5
accent
#EBE53D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #B02126

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

Preview Lab → · Contrast checker → · Palette generator →

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