#B12E28#B12E28

#B12E28 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.169 H 27.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B12E28
RGBrgb(177, 46, 40)
HSLhsl(3, 63%, 43%)
HSVhsv(3, 77%, 69%)
CMYKcmyk(0%, 74%, 77.4%, 30.6%)
CIE-LABlab(40.34, 52.02, 35.47)
CIE-LCHlch(40.34, 62.96, 34.29°)
OKLaboklab(50.57% 0.1495 0.0783)
OKLCHoklch(50.57% 0.169 27.6)
XYZxyz(19.4937, 11.4573, 3.1921)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E28 #28ABB1
analogous
#B12866 #B12E28 #B17328
triadic
#B12E28 #28B12E #2E28B1
tetradic
#B12E28 #66B128 #28ABB1 #7328B1
square
#B12E28 #66B128 #28ABB1 #7328B1
split-complementary
#B12E28 #28B173 #2866B1
monochromatic
#4D1411 #7F211D #B12E28 #D44842 #E07974

Accessibility & contrast

On white

6.38
#B12E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B12E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E28
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E28#FFFFFF#000000##FFFFFF
##B12E281.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D26
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e28;
/* rgb */ color: rgb(177, 46, 40);
/* oklch */ color: oklch(50.6% 0.169 27.6);
Tailwind
colors: {
  custom: {
    50: '#d17163',
    500: '#b12e28',
    950: '#000000',
  },
}
SCSS
$custom: #b12e28;
$custom-light: #d17163;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e28",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 2.628,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.16872,
    "h": 27.6
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#B12E28
secondary
#6EC3C7
accent
#DFE642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12E28

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

Preview Lab → · Contrast checker → · Palette generator →

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