#B02A27#B02A27

#B02A27 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.171 H 26.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B02A27
RGBrgb(176, 42, 39)
HSLhsl(1, 64%, 42%)
HSVhsv(1, 78%, 69%)
CMYKcmyk(0%, 76.1%, 77.8%, 31%)
CIE-LABlab(39.64, 53.04, 35.23)
CIE-LCHlch(39.64, 63.68, 33.60°)
OKLaboklab(50.01% 0.1526 0.0776)
OKLCHoklch(50.01% 0.171 26.9)
XYZxyz(19.1009, 11.0355, 3.0434)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A27 #27ADB0
analogous
#B02769 #B02A27 #B06F27
triadic
#B02A27 #27B02A #2A27B0
tetradic
#B02A27 #69B027 #27ADB0 #6F27B0
square
#B02A27 #69B027 #27ADB0 #6F27B0
split-complementary
#B02A27 #27B06F #2769B0
monochromatic
#4C1211 #7E1E1C #B02A27 #D54340 #E07472

Accessibility & contrast

On white

6.55
#B02A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B02A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A27
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A27#FFFFFF#000000##FFFFFF
##B02A271.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C2002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02a27;
/* rgb */ color: rgb(176, 42, 39);
/* oklch */ color: oklch(50.0% 0.171 26.9);
Tailwind
colors: {
  custom: {
    50: '#d16f62',
    500: '#b02a27',
    950: '#000000',
  },
}
SCSS
$custom: #b02a27;
$custom-light: #d16f62;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a27",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.314,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.17117,
    "h": 26.9
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#B02A27
secondary
#6CC5C7
accent
#E3E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02A27

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

Preview Lab → · Contrast checker → · Palette generator →

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