#B12538#B12538

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

Color values

HEX#B12538
RGBrgb(177, 37, 56)
HSLhsl(352, 65%, 42%)
HSVhsv(352, 79%, 69%)
CMYKcmyk(0%, 79.1%, 68.4%, 30.6%)
CIE-LABlab(39.51, 55.67, 24.92)
CIE-LCHlch(39.51, 60.99, 24.11°)
OKLaboklab(50.03% 0.1646 0.0584)
OKLCHoklch(50.03% 0.175 19.6)
XYZxyz(19.5090, 10.9588, 4.8286)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12538 #25B19E
analogous
#B1257E #B12538 #B15825
triadic
#B12538 #38B125 #2538B1
tetradic
#B12538 #7EB125 #25B19E #5825B1
square
#B12538 #7EB125 #25B19E #5825B1
split-complementary
#B12538 #25B158 #257EB1
monochromatic
#4C1018 #7E1A28 #B12538 #D63D52 #E16F7F

Accessibility & contrast

On white

6.58
#B12538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B12538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12538
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12538#FFFFFF#000000##FFFFFF
##B125381.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12538;
/* rgb */ color: rgb(177, 37, 56);
/* oklch */ color: oklch(50.0% 0.175 19.6);
Tailwind
colors: {
  custom: {
    50: '#d06d6e',
    500: '#b12538',
    950: '#000000',
  },
}
SCSS
$custom: #b12538;
$custom-light: #d06d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12538",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 56
  },
  "hsl": {
    "h": 351.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.17464,
    "h": 19.6
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#B12538
secondary
#6AC8BB
accent
#E8D13F
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12538

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

Preview Lab → · Contrast checker → · Palette generator →

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