#B12940#B12940

#B12940 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.171 H 16.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B12940
RGBrgb(177, 41, 64)
HSLhsl(350, 62%, 43%)
HSVhsv(350, 77%, 69%)
CMYKcmyk(0%, 76.8%, 63.8%, 30.6%)
CIE-LABlab(40.09, 54.89, 20.66)
CIE-LCHlch(40.09, 58.65, 20.63°)
OKLaboklab(50.5% 0.1638 0.0498)
OKLCHoklch(50.5% 0.171 16.9)
XYZxyz(19.8519, 11.3061, 5.9865)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12940 #29B19A
analogous
#B12984 #B12940 #B15629
triadic
#B12940 #40B129 #2940B1
tetradic
#B12940 #84B129 #29B19A #5629B1
square
#B12940 #84B129 #29B19A #5629B1
split-complementary
#B12940 #29B156 #2984B1
monochromatic
#4E121C #7F1D2E #B12940 #D4445C #DF7587

Accessibility & contrast

On white

6.44
#B12940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B12940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12940
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12940#FFFFFF#000000##FFFFFF
##B129401.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C40
Deuteranopia (green-blind)
#72693C
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12940;
/* rgb */ color: rgb(177, 41, 64);
/* oklch */ color: oklch(50.5% 0.171 16.9);
Tailwind
colors: {
  custom: {
    50: '#d06f74',
    500: '#b12940',
    950: '#000000',
  },
}
SCSS
$custom: #b12940;
$custom-light: #d06f74;
$custom-dark: #000000;
JSON
{
  "hex": "#b12940",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 349.853,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.17114,
    "h": 16.9
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#B12940
secondary
#6FC7B8
accent
#E5CA42
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12940

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

Preview Lab → · Contrast checker → · Palette generator →

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