#B02827#B02827

#B02827 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.173 H 26.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B02827
RGBrgb(176, 40, 39)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 77.3%, 77.8%, 31%)
CIE-LABlab(39.41, 53.69, 34.99)
CIE-LCHlch(39.41, 64.09, 33.09°)
OKLaboklab(49.84% 0.1547 0.077)
OKLCHoklch(49.84% 0.173 26.5)
XYZxyz(19.0318, 10.8972, 3.0203)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02827 #27AFB0
analogous
#B0276B #B02827 #B06D27
triadic
#B02827 #27B028 #2827B0
tetradic
#B02827 #6BB027 #27AFB0 #6D27B0
square
#B02827 #6BB027 #27AFB0 #6D27B0
split-complementary
#B02827 #27B06D #276BB0
monochromatic
#4C1111 #7E1D1C #B02827 #D54140 #E07372

Accessibility & contrast

On white

6.61
#B02827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B02827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02827
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02827#FFFFFF#000000##FFFFFF
##B028271.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#746721
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02827;
/* rgb */ color: rgb(176, 40, 39);
/* oklch */ color: oklch(49.8% 0.173 26.5);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b02827',
    950: '#000000',
  },
}
SCSS
$custom: #b02827;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b02827",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.438,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.17277,
    "h": 26.5
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#B02827
secondary
#6CC6C7
accent
#E6E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02827

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

Preview Lab → · Contrast checker → · Palette generator →

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