#B12740#B12740

#B12740 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.173 H 16.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B12740
RGBrgb(177, 39, 64)
HSLhsl(349, 64%, 42%)
HSVhsv(349, 78%, 69%)
CMYKcmyk(0%, 78%, 63.8%, 30.6%)
CIE-LABlab(39.87, 55.52, 20.37)
CIE-LCHlch(39.87, 59.13, 20.15°)
OKLaboklab(50.33% 0.1658 0.0491)
OKLCHoklch(50.33% 0.173 16.5)
XYZxyz(19.7845, 11.1713, 5.9640)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12740 #27B198
analogous
#B12785 #B12740 #B15327
triadic
#B12740 #40B127 #2740B1
tetradic
#B12740 #85B127 #27B198 #5327B1
square
#B12740 #85B127 #27B198 #5327B1
split-complementary
#B12740 #27B153 #2785B1
monochromatic
#4D111C #7F1C2E #B12740 #D5405B #E07286

Accessibility & contrast

On white

6.49
#B12740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B12740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12740
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12740#FFFFFF#000000##FFFFFF
##B127401.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#C20032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12740;
/* rgb */ color: rgb(177, 39, 64);
/* oklch */ color: oklch(50.3% 0.173 16.5);
Tailwind
colors: {
  custom: {
    50: '#d06e74',
    500: '#b12740',
    950: '#000000',
  },
}
SCSS
$custom: #b12740;
$custom-light: #d06e74;
$custom-dark: #000000;
JSON
{
  "hex": "#b12740",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 349.13,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.17289,
    "h": 16.5
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#B12740
secondary
#6DC7B7
accent
#E7C941
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12740

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

Preview Lab → · Contrast checker → · Palette generator →

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