#B12E4D#B12E4D

#B12E4D is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.167 H 11.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B12E4D
RGBrgb(177, 46, 77)
HSLhsl(346, 59%, 44%)
HSVhsv(346, 74%, 69%)
CMYKcmyk(0%, 74%, 56.5%, 30.6%)
CIE-LABlab(40.96, 54.09, 13.65)
CIE-LCHlch(40.96, 55.79, 14.16°)
OKLaboklab(51.23% 0.1635 0.0342)
OKLCHoklch(51.23% 0.167 11.8)
XYZxyz(20.4500, 11.8398, 8.2282)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E4D #2EB192
analogous
#B12E8E #B12E4D #B1512E
triadic
#B12E4D #4DB12E #2E4DB1
tetradic
#B12E4D #8EB12E #2EB192 #512EB1
square
#B12E4D #8EB12E #2EB192 #512EB1
split-complementary
#B12E4D #2EB151 #2E8EB1
monochromatic
#501523 #802138 #B12E4D #D04C6B #DD7C93

Accessibility & contrast

On white

6.24
#B12E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B12E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E4D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E4D#FFFFFF#000000##FFFFFF
##B12E4D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4D
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#C2063B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12e4d;
/* rgb */ color: rgb(177, 46, 77);
/* oklch */ color: oklch(51.2% 0.167 11.8);
Tailwind
colors: {
  custom: {
    50: '#cf727e',
    500: '#b12e4d',
    950: '#000000',
  },
}
SCSS
$custom: #b12e4d;
$custom-light: #cf727e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e4d",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 345.802,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.16707,
    "h": 11.8
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#B12E4D
secondary
#75C6B3
accent
#E2BD46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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