#B12738#B12738

#B12738 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.173 H 20.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B12738
RGBrgb(177, 39, 56)
HSLhsl(353, 64%, 42%)
HSVhsv(353, 78%, 69%)
CMYKcmyk(0%, 78%, 68.4%, 30.6%)
CIE-LABlab(39.73, 55.06, 25.18)
CIE-LCHlch(39.73, 60.55, 24.58°)
OKLaboklab(50.19% 0.1626 0.059)
OKLCHoklch(50.19% 0.173 20)
XYZxyz(19.5730, 11.0867, 4.8499)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12738 #27B1A0
analogous
#B1277D #B12738 #B15B27
triadic
#B12738 #38B127 #2738B1
tetradic
#B12738 #7DB127 #27B1A0 #5B27B1
square
#B12738 #7DB127 #27B1A0 #5B27B1
split-complementary
#B12738 #27B15B #277DB1
monochromatic
#4D1118 #7F1C28 #B12738 #D54053 #E07280

Accessibility & contrast

On white

6.53
#B12738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12738
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12738#FFFFFF#000000##FFFFFF
##B127381.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B38
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12738;
/* rgb */ color: rgb(177, 39, 56);
/* oklch */ color: oklch(50.2% 0.173 20.0);
Tailwind
colors: {
  custom: {
    50: '#d06e6e',
    500: '#b12738',
    950: '#000000',
  },
}
SCSS
$custom: #b12738;
$custom-light: #d06e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12738",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 56
  },
  "hsl": {
    "h": 352.609,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.17302,
    "h": 20
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#B12738
secondary
#6DC7BC
accent
#E7D241
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12738

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

Preview Lab → · Contrast checker → · Palette generator →

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