#B12E4C#B12E4C

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

Color values

HEX#B12E4C
RGBrgb(177, 46, 76)
HSLhsl(346, 59%, 44%)
HSVhsv(346, 74%, 69%)
CMYKcmyk(0%, 74%, 57.1%, 30.6%)
CIE-LABlab(40.94, 54.02, 14.25)
CIE-LCHlch(40.94, 55.86, 14.78°)
OKLaboklab(51.21% 0.1631 0.0356)
OKLCHoklch(51.21% 0.167 12.3)
XYZxyz(20.4149, 11.8258, 8.0437)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E4C #2EB193
analogous
#B12E8D #B12E4C #B1522E
triadic
#B12E4C #4CB12E #2E4CB1
tetradic
#B12E4C #8DB12E #2EB193 #522EB1
square
#B12E4C #8DB12E #2EB193 #522EB1
split-complementary
#B12E4C #2EB152 #2E8DB1
monochromatic
#501522 #802137 #B12E4C #D04C6A #DD7C92

Accessibility & contrast

On white

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

On black

3.36
#B12E4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12E4C#FFFFFF#000000##FFFFFF
##B12E4C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#C2053A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12e4c;
/* rgb */ color: rgb(177, 46, 76);
/* oklch */ color: oklch(51.2% 0.167 12.3);
Tailwind
colors: {
  custom: {
    50: '#cf727d',
    500: '#b12e4c',
    950: '#000000',
  },
}
SCSS
$custom: #b12e4c;
$custom-light: #cf727d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e4c",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 346.26,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.16697,
    "h": 12.3
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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