#B12E8F#B12E8F

#B12E8F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.194 H 340.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B12E8F
RGBrgb(177, 46, 143)
HSLhsl(316, 59%, 44%)
HSVhsv(316, 74%, 69%)
CMYKcmyk(0%, 74%, 19.2%, 30.6%)
CIE-LABlab(43.19, 61.19, -24.03)
CIE-LCHlch(43.19, 65.73, 338.56°)
OKLaboklab(53.6% 0.1828 -0.0648)
OKLCHoklch(53.6% 0.194 340.5)
XYZxyz(24.0671, 13.2867, 27.2784)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E8F #2EB150
analogous
#912EB1 #B12E8F #B12E4D
triadic
#B12E8F #8FB12E #2E8FB1
tetradic
#B12E8F #B1912E #2EB150 #2E4DB1
square
#B12E8F #B1912E #2EB150 #2E4DB1
split-complementary
#B12E8F #4DB12E #2EB191
monochromatic
#501541 #802168 #B12E8F #D04CAE #DD7CC4

Accessibility & contrast

On white

5.74
#B12E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B12E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E8F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E8F#FFFFFF#000000##FFFFFF
##B12E8F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#BC325B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b12e8f;
/* rgb */ color: rgb(177, 46, 143);
/* oklch */ color: oklch(53.6% 0.194 340.5);
Tailwind
colors: {
  custom: {
    50: '#cc74b0',
    500: '#b12e8f',
    950: '#000000',
  },
}
SCSS
$custom: #b12e8f;
$custom-light: #cc74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e8f",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 315.573,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.1939,
    "h": 340.5
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#B12E8F
secondary
#75C68A
accent
#E26E46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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