#B12545#B12545

#B12545 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.3% C 0.175 H 13.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B12545
RGBrgb(177, 37, 69)
HSLhsl(346, 65%, 42%)
HSVhsv(346, 79%, 69%)
CMYKcmyk(0%, 79.1%, 61%, 30.6%)
CIE-LABlab(39.75, 56.43, 17.07)
CIE-LCHlch(39.75, 58.95, 16.83°)
OKLaboklab(50.28% 0.1697 0.0418)
OKLCHoklch(50.28% 0.175 13.9)
XYZxyz(19.8693, 11.1029, 6.7259)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12545 #25B191
analogous
#B1258B #B12545 #B14B25
triadic
#B12545 #45B125 #2545B1
tetradic
#B12545 #8BB125 #25B191 #4B25B1
square
#B12545 #8BB125 #25B191 #4B25B1
split-complementary
#B12545 #25B14B #258BB1
monochromatic
#4C101E #7E1A31 #B12545 #D63D60 #E16F89

Accessibility & contrast

On white

6.52
#B12545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B12545 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12545
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12545#FFFFFF#000000##FFFFFF
##B125451.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B45
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12545;
/* rgb */ color: rgb(177, 37, 69);
/* oklch */ color: oklch(50.3% 0.175 13.9);
Tailwind
colors: {
  custom: {
    50: '#d06e78',
    500: '#b12545',
    950: '#000000',
  },
}
SCSS
$custom: #b12545;
$custom-light: #d06e78;
$custom-dark: #000000;
JSON
{
  "hex": "#b12545",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 69
  },
  "hsl": {
    "h": 346.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.17478,
    "h": 13.9
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#B12545
secondary
#6AC8B2
accent
#E8C23F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12545

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

Preview Lab → · Contrast checker → · Palette generator →

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