#B12F84#B12F84

#B12F84 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.186 H 345.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B12F84
RGBrgb(177, 47, 132)
HSLhsl(321, 58%, 44%)
HSVhsv(321, 73%, 69%)
CMYKcmyk(0%, 73.4%, 25.4%, 30.6%)
CIE-LABlab(42.84, 59.38, -17.87)
CIE-LCHlch(42.84, 62.01, 343.25°)
OKLaboklab(53.18% 0.1798 -0.0475)
OKLCHoklch(53.18% 0.186 345.2)
XYZxyz(23.3138, 13.0486, 23.1162)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F84 #2FB15C
analogous
#9D2FB1 #B12F84 #B12F43
triadic
#B12F84 #84B12F #2F84B1
tetradic
#B12F84 #B19D2F #2FB15C #2F43B1
square
#B12F84 #B19D2F #2FB15C #2F43B1
split-complementary
#B12F84 #43B12F #2FB19D
monochromatic
#50153C #812260 #B12F84 #D04DA3 #DD7EBC

Accessibility & contrast

On white

5.82
#B12F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B12F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F84
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F84#FFFFFF#000000##FFFFFF
##B12F841.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#666D81
Tritanopia (blue-blind)
#BD2D55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12f84;
/* rgb */ color: rgb(177, 47, 132);
/* oklch */ color: oklch(53.2% 0.186 345.2);
Tailwind
colors: {
  custom: {
    50: '#cc74a8',
    500: '#b12f84',
    950: '#000000',
  },
}
SCSS
$custom: #b12f84;
$custom-light: #cc74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f84",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 320.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.18596,
    "h": 345.2
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#B12F84
secondary
#76C592
accent
#E17C47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12F84

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

Preview Lab → · Contrast checker → · Palette generator →

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