#B12E2D#B12E2D

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

Color values

HEX#B12E2D
RGBrgb(177, 46, 45)
HSLhsl(0, 59%, 44%)
HSVhsv(0, 75%, 69%)
CMYKcmyk(0%, 74%, 74.6%, 30.6%)
CIE-LABlab(40.40, 52.22, 32.64)
CIE-LCHlch(40.40, 61.58, 32.01°)
OKLaboklab(50.64% 0.1512 0.0734)
OKLCHoklch(50.64% 0.168 25.9)
XYZxyz(19.5844, 11.4936, 3.6694)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E2D #2DB0B1
analogous
#B12D6E #B12E2D #B1702D
triadic
#B12E2D #2DB12E #2E2DB1
tetradic
#B12E2D #6EB12D #2DB0B1 #702DB1
square
#B12E2D #6EB12D #2DB0B1 #702DB1
split-complementary
#B12E2D #2DB170 #2D6EB1
monochromatic
#4F1514 #802121 #B12E2D #D14B4A #DD7C7B

Accessibility & contrast

On white

6.37
#B12E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B12E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E2D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E2D#FFFFFF#000000##FFFFFF
##B12E2D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e2d;
/* rgb */ color: rgb(177, 46, 45);
/* oklch */ color: oklch(50.6% 0.168 25.9);
Tailwind
colors: {
  custom: {
    50: '#d17166',
    500: '#b12e2d',
    950: '#000000',
  },
}
SCSS
$custom: #b12e2d;
$custom-light: #d17166;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e2d",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 0.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.16804,
    "h": 25.9
  },
  "luminance": 0.11491
}

Semantic roles & 50–950 ramp

primary
#B12E2D
secondary
#74C5C6
accent
#E1E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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