#B12823#B12823

#B12823 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.174 H 27.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B12823
RGBrgb(177, 40, 35)
HSLhsl(2, 67%, 42%)
HSVhsv(2, 80%, 69%)
CMYKcmyk(0%, 77.4%, 80.2%, 30.6%)
CIE-LABlab(39.56, 53.86, 37.47)
CIE-LCHlch(39.56, 65.62, 34.83°)
OKLaboklab(49.98% 0.1542 0.0811)
OKLCHoklch(49.98% 0.174 27.7)
XYZxyz(19.1960, 10.9891, 2.7002)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12823 #23ACB1
analogous
#B12365 #B12823 #B16F23
triadic
#B12823 #23B128 #2823B1
tetradic
#B12823 #65B123 #23ACB1 #6F23B1
square
#B12823 #65B123 #23ACB1 #6F23B1
split-complementary
#B12823 #23B16F #2365B1
monochromatic
#4B110F #7E1C19 #B12823 #D83F39 #E2716C

Accessibility & contrast

On white

6.57
#B12823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B12823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12823
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12823#FFFFFF#000000##FFFFFF
##B128231.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A21
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12823;
/* rgb */ color: rgb(177, 40, 35);
/* oklch */ color: oklch(50.0% 0.174 27.7);
Tailwind
colors: {
  custom: {
    50: '#d26e5f',
    500: '#b12823',
    950: '#000000',
  },
}
SCSS
$custom: #b12823;
$custom-light: #d26e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12823",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.113,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.17426,
    "h": 27.7
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#B12823
secondary
#68C5C8
accent
#E4EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B12823

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

Preview Lab → · Contrast checker → · Palette generator →

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