#B12427#B12427

#B12427 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.177 H 25.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B12427
RGBrgb(177, 36, 39)
HSLhsl(359, 66%, 42%)
HSVhsv(359, 80%, 69%)
CMYKcmyk(0%, 79.7%, 78%, 30.6%)
CIE-LABlab(39.17, 55.22, 34.79)
CIE-LCHlch(39.17, 65.27, 32.22°)
OKLaboklab(49.7% 0.1593 0.0765)
OKLCHoklch(49.7% 0.177 25.7)
XYZxyz(19.1309, 10.7584, 2.9883)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12427 #24B1AE
analogous
#B1246E #B12427 #B16724
triadic
#B12427 #27B124 #2427B1
tetradic
#B12427 #6EB124 #24B1AE #6724B1
square
#B12427 #6EB124 #24B1AE #6724B1
split-complementary
#B12427 #24B167 #246EB1
monochromatic
#4B0F11 #7E1A1C #B12427 #D73B3E #E16E70

Accessibility & contrast

On white

6.66
#B12427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B12427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12427
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12427#FFFFFF#000000##FFFFFF
##B124271.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C30027
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b12427;
/* rgb */ color: rgb(177, 36, 39);
/* oklch */ color: oklch(49.7% 0.177 25.7);
Tailwind
colors: {
  custom: {
    50: '#d26d62',
    500: '#b12427',
    950: '#000000',
  },
}
SCSS
$custom: #b12427;
$custom-light: #d26d62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12427",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 39
  },
  "hsl": {
    "h": 358.723,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.17676,
    "h": 25.7
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#B12427
secondary
#69C8C6
accent
#E9E53F
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #B12427

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

Preview Lab → · Contrast checker → · Palette generator →

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