#B02F28#B02F28

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

Color values

HEX#B02F28
RGBrgb(176, 47, 40)
HSLhsl(3, 63%, 42%)
HSVhsv(3, 77%, 69%)
CMYKcmyk(0%, 73.3%, 77.3%, 31%)
CIE-LABlab(40.28, 51.34, 35.34)
CIE-LCHlch(40.28, 62.33, 34.55°)
OKLaboklab(50.49% 0.1474 0.0781)
OKLCHoklch(50.49% 0.167 27.9)
XYZxyz(19.3063, 11.4193, 3.1947)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F28 #28A9B0
analogous
#B02865 #B02F28 #B07328
triadic
#B02F28 #28B02F #2F28B0
tetradic
#B02F28 #65B028 #28A9B0 #7328B0
square
#B02F28 #65B028 #28A9B0 #7328B0
split-complementary
#B02F28 #28B073 #2865B0
monochromatic
#4C1411 #7E221D #B02F28 #D44941 #DF7973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02F28#FFFFFF#000000##FFFFFF
##B02F281.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)
#554D26
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#C2002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02f28;
/* rgb */ color: rgb(176, 47, 40);
/* oklch */ color: oklch(50.5% 0.167 27.9);
Tailwind
colors: {
  custom: {
    50: '#d07163',
    500: '#b02f28',
    950: '#000000',
  },
}
SCSS
$custom: #b02f28;
$custom-light: #d07163;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f28",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 3.088,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.16684,
    "h": 27.9
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#B02F28
secondary
#6DC2C6
accent
#DEE642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02F28

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

Preview Lab → · Contrast checker → · Palette generator →

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