#B12438#B12438

#B12438 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.175 H 19.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B12438
RGBrgb(177, 36, 56)
HSLhsl(351, 66%, 42%)
HSVhsv(351, 80%, 69%)
CMYKcmyk(0%, 79.7%, 68.4%, 30.6%)
CIE-LABlab(39.41, 55.96, 24.79)
CIE-LCHlch(39.41, 61.21, 23.89°)
OKLaboklab(49.95% 0.1655 0.0582)
OKLCHoklch(49.95% 0.175 19.4)
XYZxyz(19.4783, 10.8974, 4.8184)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12438 #24B19D
analogous
#B1247F #B12438 #B15624
triadic
#B12438 #38B124 #2438B1
tetradic
#B12438 #7FB124 #24B19D #5624B1
square
#B12438 #7FB124 #24B19D #5624B1
split-complementary
#B12438 #24B156 #247FB1
monochromatic
#4B0F18 #7E1A28 #B12438 #D73B51 #E16E7E

Accessibility & contrast

On white

6.61
#B12438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B12438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12438
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12438#FFFFFF#000000##FFFFFF
##B124381.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12438;
/* rgb */ color: rgb(177, 36, 56);
/* oklch */ color: oklch(49.9% 0.175 19.4);
Tailwind
colors: {
  custom: {
    50: '#d06d6e',
    500: '#b12438',
    950: '#000000',
  },
}
SCSS
$custom: #b12438;
$custom-light: #d06d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12438",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 351.489,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.17543,
    "h": 19.4
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#B12438
secondary
#69C8BA
accent
#E9D13F
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12438

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

Preview Lab → · Contrast checker → · Palette generator →

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