#B12331#B12331

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

Color values

HEX#B12331
RGBrgb(177, 35, 49)
HSLhsl(354, 67%, 42%)
HSVhsv(354, 80%, 69%)
CMYKcmyk(0%, 80.2%, 72.3%, 30.6%)
CIE-LABlab(39.20, 55.91, 28.85)
CIE-LCHlch(39.20, 62.92, 27.30°)
OKLaboklab(49.76% 0.1638 0.066)
OKLCHoklch(49.76% 0.177 21.9)
XYZxyz(19.2891, 10.7740, 3.9691)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12331 #23B1A3
analogous
#B12378 #B12331 #B15C23
triadic
#B12331 #31B123 #2331B1
tetradic
#B12331 #78B123 #23B1A3 #5C23B1
square
#B12331 #78B123 #23B1A3 #5C23B1
split-complementary
#B12331 #23B15C #2378B1
monochromatic
#4B0F15 #7E1923 #B12331 #D83949 #E26C78

Accessibility & contrast

On white

6.66
#B12331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B12331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12331
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12331#FFFFFF#000000##FFFFFF
##B123311.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b12331;
/* rgb */ color: rgb(177, 35, 49);
/* oklch */ color: oklch(49.8% 0.177 21.9);
Tailwind
colors: {
  custom: {
    50: '#d16c69',
    500: '#b12331',
    950: '#000000',
  },
}
SCSS
$custom: #b12331;
$custom-light: #d16c69;
$custom-dark: #000000;
JSON
{
  "hex": "#b12331",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 354.085,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.17656,
    "h": 21.9
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#B12331
secondary
#68C8BF
accent
#EAD93E
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B12331

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

Preview Lab → · Contrast checker → · Palette generator →

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