#B02F26#B02F26

#B02F26 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 28.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B02F26
RGBrgb(176, 47, 38)
HSLhsl(4, 64%, 42%)
HSVhsv(4, 78%, 69%)
CMYKcmyk(0%, 73.3%, 78.4%, 31%)
CIE-LABlab(40.26, 51.26, 36.45)
CIE-LCHlch(40.26, 62.90, 35.42°)
OKLaboklab(50.47% 0.1468 0.0799)
OKLCHoklch(50.47% 0.167 28.6)
XYZxyz(19.2731, 11.4061, 3.0201)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F26 #26A7B0
analogous
#B02662 #B02F26 #B07426
triadic
#B02F26 #26B02F #2F26B0
tetradic
#B02F26 #62B026 #26A7B0 #7426B0
square
#B02F26 #62B026 #26A7B0 #7426B0
split-complementary
#B02F26 #26B074 #2662B0
monochromatic
#4B1410 #7E221B #B02F26 #D5483E #E07870

Accessibility & contrast

On white

6.40
#B02F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B02F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F26
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F26#FFFFFF#000000##FFFFFF
##B02F261.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D24
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#C2002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02f26;
/* rgb */ color: rgb(176, 47, 38);
/* oklch */ color: oklch(50.5% 0.167 28.6);
Tailwind
colors: {
  custom: {
    50: '#d07161',
    500: '#b02f26',
    950: '#000000',
  },
}
SCSS
$custom: #b02f26;
$custom-light: #d07161;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f26",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 3.913,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.16714,
    "h": 28.6
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#B02F26
secondary
#6BC1C7
accent
#DDE740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02F26

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

Preview Lab → · Contrast checker → · Palette generator →

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