#B12938#B12938

#B12938 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.4% C 0.171 H 20.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B12938
RGBrgb(177, 41, 56)
HSLhsl(353, 62%, 43%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 76.8%, 68.4%, 30.6%)
CIE-LABlab(39.95, 54.43, 25.46)
CIE-LCHlch(39.95, 60.09, 25.07°)
OKLaboklab(50.35% 0.1606 0.0597)
OKLCHoklch(50.35% 0.171 20.4)
XYZxyz(19.6404, 11.2215, 4.8724)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12938 #29B1A2
analogous
#B1297C #B12938 #B15E29
triadic
#B12938 #38B129 #2938B1
tetradic
#B12938 #7CB129 #29B1A2 #5E29B1
square
#B12938 #7CB129 #29B1A2 #5E29B1
split-complementary
#B12938 #29B15E #297CB1
monochromatic
#4E1219 #7F1D28 #B12938 #D44453 #DF7581

Accessibility & contrast

On white

6.47
#B12938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B12938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12938
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12938#FFFFFF#000000##FFFFFF
##B129381.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C37
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12938;
/* rgb */ color: rgb(177, 41, 56);
/* oklch */ color: oklch(50.4% 0.171 20.4);
Tailwind
colors: {
  custom: {
    50: '#d06f6e',
    500: '#b12938',
    950: '#000000',
  },
}
SCSS
$custom: #b12938;
$custom-light: #d06f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12938",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 353.382,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50352,
    "c": 0.17134,
    "h": 20.4
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#B12938
secondary
#6FC7BD
accent
#E5D342
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12938

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

Preview Lab → · Contrast checker → · Palette generator →

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