#B12742#B12742

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

Color values

HEX#B12742
RGBrgb(177, 39, 66)
HSLhsl(348, 64%, 42%)
HSVhsv(348, 78%, 69%)
CMYKcmyk(0%, 78%, 62.7%, 30.6%)
CIE-LABlab(39.91, 55.64, 19.16)
CIE-LCHlch(39.91, 58.84, 19.00°)
OKLaboklab(50.38% 0.1666 0.0465)
OKLCHoklch(50.38% 0.173 15.6)
XYZxyz(19.8424, 11.1945, 6.2691)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12742 #27B196
analogous
#B12787 #B12742 #B15127
triadic
#B12742 #42B127 #2742B1
tetradic
#B12742 #87B127 #27B196 #5127B1
square
#B12742 #87B127 #27B196 #5127B1
split-complementary
#B12742 #27B151 #2787B1
monochromatic
#4D111D #7F1C2F #B12742 #D5405D #E07288

Accessibility & contrast

On white

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

On black

3.24
#B12742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12742#FFFFFF#000000##FFFFFF
##B127421.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C42
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12742;
/* rgb */ color: rgb(177, 39, 66);
/* oklch */ color: oklch(50.4% 0.173 15.6);
Tailwind
colors: {
  custom: {
    50: '#d06e76',
    500: '#b12742',
    950: '#000000',
  },
}
SCSS
$custom: #b12742;
$custom-light: #d06e76;
$custom-dark: #000000;
JSON
{
  "hex": "#b12742",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 348.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.17293,
    "h": 15.6
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#B12742
secondary
#6DC7B5
accent
#E7C641
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12742

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

Preview Lab → · Contrast checker → · Palette generator →

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