#B12D2E#B12D2E

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

Color values

HEX#B12D2E
RGBrgb(177, 45, 46)
HSLhsl(360, 59%, 44%)
HSVhsv(360, 75%, 69%)
CMYKcmyk(0%, 74.6%, 74%, 30.6%)
CIE-LABlab(40.29, 52.61, 31.92)
CIE-LCHlch(40.29, 61.54, 31.25°)
OKLaboklab(50.55% 0.1526 0.0721)
OKLCHoklch(50.55% 0.169 25.3)
XYZxyz(19.5652, 11.4242, 3.7591)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12D2E #2DB1B0
analogous
#B12D70 #B12D2E #B16E2D
triadic
#B12D2E #2EB12D #2D2EB1
tetradic
#B12D2E #70B12D #2DB1B0 #6E2DB1
square
#B12D2E #70B12D #2DB1B0 #6E2DB1
split-complementary
#B12D2E #2DB16E #2D70B1
monochromatic
#4F1415 #802121 #B12D2E #D14A4B #DD7B7C

Accessibility & contrast

On white

6.39
#B12D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12D2E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12D2E#FFFFFF#000000##FFFFFF
##B12D2E1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2D
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12d2e;
/* rgb */ color: rgb(177, 45, 46);
/* oklch */ color: oklch(50.6% 0.169 25.3);
Tailwind
colors: {
  custom: {
    50: '#d17067',
    500: '#b12d2e',
    950: '#000000',
  },
}
SCSS
$custom: #b12d2e;
$custom-light: #d17067;
$custom-dark: #000000;
JSON
{
  "hex": "#b12d2e",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 359.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.16879,
    "h": 25.3
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#B12D2E
secondary
#74C6C5
accent
#E3E145
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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