#B12728#B12728

#B12728 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.174 H 26.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B12728
RGBrgb(177, 39, 40)
HSLhsl(360, 64%, 42%)
HSVhsv(360, 78%, 69%)
CMYKcmyk(0%, 78%, 77.4%, 30.6%)
CIE-LABlab(39.50, 54.35, 34.57)
CIE-LCHlch(39.50, 64.41, 32.46°)
OKLaboklab(49.95% 0.1568 0.0763)
OKLCHoklch(49.95% 0.174 26)
XYZxyz(19.2423, 10.9544, 3.1083)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12728 #27B1B0
analogous
#B1276D #B12728 #B16B27
triadic
#B12728 #28B127 #2728B1
tetradic
#B12728 #6DB127 #27B1B0 #6B27B1
square
#B12728 #6DB127 #27B1B0 #6B27B1
split-complementary
#B12728 #27B16B #276DB1
monochromatic
#4D1111 #7F1C1D #B12728 #D54041 #E07273

Accessibility & contrast

On white

6.58
#B12728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B12728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12728
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12728#FFFFFF#000000##FFFFFF
##B127281.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12728;
/* rgb */ color: rgb(177, 39, 40);
/* oklch */ color: oklch(49.9% 0.174 26.0);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b12728',
    950: '#000000',
  },
}
SCSS
$custom: #b12728;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12728",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.17441,
    "h": 26
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12728

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

Preview Lab → · Contrast checker → · Palette generator →

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