#B02728#B02728

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

Color values

HEX#B02728
RGBrgb(176, 39, 40)
HSLhsl(360, 64%, 42%)
HSVhsv(360, 78%, 69%)
CMYKcmyk(0%, 77.8%, 77.3%, 31%)
CIE-LABlab(39.31, 54.05, 34.30)
CIE-LCHlch(39.31, 64.01, 32.40°)
OKLaboklab(49.77% 0.156 0.0758)
OKLCHoklch(49.77% 0.173 25.9)
XYZxyz(19.0153, 10.8374, 3.0977)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02728 #27B0AF
analogous
#B0276D #B02728 #B06B27
triadic
#B02728 #28B027 #2728B0
tetradic
#B02728 #6DB027 #27B0AF #6B27B0
square
#B02728 #6DB027 #27B0AF #6B27B0
split-complementary
#B02728 #27B06B #276DB0
monochromatic
#4C1111 #7E1C1D #B02728 #D54041 #E07273

Accessibility & contrast

On white

6.63
#B02728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B02728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02728
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02728#FFFFFF#000000##FFFFFF
##B027281.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A26
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#C20029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#B02728
secondary
#6CC7C6
accent
#E7E641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02728

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

Preview Lab → · Contrast checker → · Palette generator →

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