#B12E4F#B12E4F

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

Color values

HEX#B12E4F
RGBrgb(177, 46, 79)
HSLhsl(345, 59%, 44%)
HSVhsv(345, 74%, 69%)
CMYKcmyk(0%, 74%, 55.4%, 30.6%)
CIE-LABlab(41.01, 54.24, 12.46)
CIE-LCHlch(41.01, 55.65, 12.93°)
OKLaboklab(51.28% 0.1643 0.0314)
OKLCHoklch(51.28% 0.167 10.8)
XYZxyz(20.5217, 11.8685, 8.6059)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E4F #2EB190
analogous
#B12E90 #B12E4F #B14E2E
triadic
#B12E4F #4FB12E #2E4FB1
tetradic
#B12E4F #90B12E #2EB190 #4E2EB1
square
#B12E4F #90B12E #2EB190 #4E2EB1
split-complementary
#B12E4F #2EB14E #2E90B1
monochromatic
#501524 #802139 #B12E4F #D04C6D #DD7C95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12E4F#FFFFFF#000000##FFFFFF
##B12E4F1.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)
#505050
Deuteranopia (green-blind)
#726A4C
Tritanopia (blue-blind)
#C1083C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12e4f;
/* rgb */ color: rgb(177, 46, 79);
/* oklch */ color: oklch(51.3% 0.167 10.8);
Tailwind
colors: {
  custom: {
    50: '#cf7280',
    500: '#b12e4f',
    950: '#000000',
  },
}
SCSS
$custom: #b12e4f;
$custom-light: #cf7280;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e4f",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 344.885,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.1673,
    "h": 10.8
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#B12E4F
secondary
#75C6B1
accent
#E2BB46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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