#B12E4E#B12E4E

#B12E4E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.167 H 11.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B12E4E
RGBrgb(177, 46, 78)
HSLhsl(345, 59%, 44%)
HSVhsv(345, 74%, 69%)
CMYKcmyk(0%, 74%, 55.9%, 30.6%)
CIE-LABlab(40.98, 54.17, 13.05)
CIE-LCHlch(40.98, 55.72, 13.55°)
OKLaboklab(51.26% 0.1639 0.0328)
OKLCHoklch(51.26% 0.167 11.3)
XYZxyz(20.4855, 11.8540, 8.4156)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E4E #2EB191
analogous
#B12E8F #B12E4E #B1502E
triadic
#B12E4E #4EB12E #2E4EB1
tetradic
#B12E4E #8FB12E #2EB191 #502EB1
square
#B12E4E #8FB12E #2EB191 #502EB1
split-complementary
#B12E4E #2EB150 #2E8FB1
monochromatic
#501523 #802139 #B12E4E #D04C6C #DD7C94

Accessibility & contrast

On white

6.23
#B12E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12E4E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E4E#FFFFFF#000000##FFFFFF
##B12E4E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504E
Deuteranopia (green-blind)
#726A4B
Tritanopia (blue-blind)
#C1073B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12e4e;
/* rgb */ color: rgb(177, 46, 78);
/* oklch */ color: oklch(51.3% 0.167 11.3);
Tailwind
colors: {
  custom: {
    50: '#cf727f',
    500: '#b12e4e',
    950: '#000000',
  },
}
SCSS
$custom: #b12e4e;
$custom-light: #cf727f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e4e",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 345.344,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.16717,
    "h": 11.3
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#B12E4E
secondary
#75C6B2
accent
#E2BC46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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