#B12431#B12431

#B12431 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 22.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B12431
RGBrgb(177, 36, 49)
HSLhsl(354, 66%, 42%)
HSVhsv(354, 80%, 69%)
CMYKcmyk(0%, 79.7%, 72.3%, 30.6%)
CIE-LABlab(39.30, 55.62, 28.97)
CIE-LCHlch(39.30, 62.72, 27.51°)
OKLaboklab(49.83% 0.1629 0.0663)
OKLCHoklch(49.83% 0.176 22.1)
XYZxyz(19.3190, 10.8337, 3.9790)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12431 #24B1A4
analogous
#B12478 #B12431 #B15E24
triadic
#B12431 #31B124 #2431B1
tetradic
#B12431 #78B124 #24B1A4 #5E24B1
square
#B12431 #78B124 #24B1A4 #5E24B1
split-complementary
#B12431 #24B15E #2478B1
monochromatic
#4B0F15 #7E1A23 #B12431 #D73B49 #E16E79

Accessibility & contrast

On white

6.63
#B12431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B12431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12431
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12431#FFFFFF#000000##FFFFFF
##B124311.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504930
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12431;
/* rgb */ color: rgb(177, 36, 49);
/* oklch */ color: oklch(49.8% 0.176 22.1);
Tailwind
colors: {
  custom: {
    50: '#d16d69',
    500: '#b12431',
    950: '#000000',
  },
}
SCSS
$custom: #b12431;
$custom-light: #d16d69;
$custom-dark: #000000;
JSON
{
  "hex": "#b12431",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 49
  },
  "hsl": {
    "h": 354.468,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.17582,
    "h": 22.1
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#B12431
secondary
#69C8BF
accent
#E9D93F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12431

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

Preview Lab → · Contrast checker → · Palette generator →

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