#B12E54#B12E54

#B12E54 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.168 H 8.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B12E54
RGBrgb(177, 46, 84)
HSLhsl(343, 59%, 44%)
HSVhsv(343, 74%, 69%)
CMYKcmyk(0%, 74%, 52.5%, 30.6%)
CIE-LABlab(41.13, 54.64, 9.48)
CIE-LCHlch(41.13, 55.46, 9.84°)
OKLaboklab(51.41% 0.1663 0.0243)
OKLCHoklch(51.41% 0.168 8.3)
XYZxyz(20.7106, 11.9440, 9.6006)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E54 #2EB18B
analogous
#B12E95 #B12E54 #B1492E
triadic
#B12E54 #54B12E #2E54B1
tetradic
#B12E54 #95B12E #2EB18B #492EB1
square
#B12E54 #95B12E #2EB18B #492EB1
split-complementary
#B12E54 #2EB149 #2E95B1
monochromatic
#501526 #80213D #B12E54 #D04C72 #DD7C98

Accessibility & contrast

On white

6.20
#B12E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B12E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E54
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E54#FFFFFF#000000##FFFFFF
##B12E541.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5055
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#C10D3E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12e54;
/* rgb */ color: rgb(177, 46, 84);
/* oklch */ color: oklch(51.4% 0.168 8.3);
Tailwind
colors: {
  custom: {
    50: '#ce7283',
    500: '#b12e54',
    950: '#000000',
  },
}
SCSS
$custom: #b12e54;
$custom-light: #ce7283;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e54",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 342.595,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.16802,
    "h": 8.3
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#B12E54
secondary
#75C6AE
accent
#E2B546
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B12E54

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

Preview Lab → · Contrast checker → · Palette generator →

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