#B12E8D#B12E8D

#B12E8D is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.193 H 341.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B12E8D
RGBrgb(177, 46, 141)
HSLhsl(316, 59%, 44%)
HSVhsv(316, 74%, 69%)
CMYKcmyk(0%, 74%, 20.3%, 30.6%)
CIE-LABlab(43.10, 60.91, -22.95)
CIE-LCHlch(43.10, 65.09, 339.36°)
OKLaboklab(53.5% 0.1825 -0.0617)
OKLCHoklch(53.5% 0.193 341.3)
XYZxyz(23.9169, 13.2266, 26.4876)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E8D #2EB152
analogous
#932EB1 #B12E8D #B12E4B
triadic
#B12E8D #8DB12E #2E8DB1
tetradic
#B12E8D #B1932E #2EB152 #2E4BB1
square
#B12E8D #B1932E #2EB152 #2E4BB1
split-complementary
#B12E8D #4BB12E #2EB193
monochromatic
#501540 #802166 #B12E8D #D04CAC #DD7CC2

Accessibility & contrast

On white

5.76
#B12E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B12E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E8D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E8D#FFFFFF#000000##FFFFFF
##B12E8D1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395890
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#BC315A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b12e8d;
/* rgb */ color: rgb(177, 46, 141);
/* oklch */ color: oklch(53.5% 0.193 341.3);
Tailwind
colors: {
  custom: {
    50: '#cc74ae',
    500: '#b12e8d',
    950: '#000000',
  },
}
SCSS
$custom: #b12e8d;
$custom-light: #cc74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e8d",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 316.489,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.19262,
    "h": 341.3
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#B12E8D
secondary
#75C68B
accent
#E27146
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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