#B12F82#B12F82

#B12F82 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.185 H 346.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B12F82
RGBrgb(177, 47, 130)
HSLhsl(322, 58%, 44%)
HSVhsv(322, 73%, 69%)
CMYKcmyk(0%, 73.4%, 26.6%, 30.6%)
CIE-LABlab(42.75, 59.13, -16.77)
CIE-LCHlch(42.75, 61.46, 344.17°)
OKLaboklab(53.1% 0.1794 -0.0444)
OKLCHoklch(53.1% 0.185 346.1)
XYZxyz(23.1783, 12.9944, 22.4023)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F82 #2FB15E
analogous
#9F2FB1 #B12F82 #B12F41
triadic
#B12F82 #82B12F #2F82B1
tetradic
#B12F82 #B19F2F #2FB15E #2F41B1
square
#B12F82 #B19F2F #2FB15E #2F41B1
split-complementary
#B12F82 #41B12F #2FB19F
monochromatic
#50153B #81225E #B12F82 #D04DA1 #DD7EBA

Accessibility & contrast

On white

5.84
#B12F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B12F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F82
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F82#FFFFFF#000000##FFFFFF
##B12F821.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#676D7F
Tritanopia (blue-blind)
#BD2C54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12f82;
/* rgb */ color: rgb(177, 47, 130);
/* oklch */ color: oklch(53.1% 0.185 346.1);
Tailwind
colors: {
  custom: {
    50: '#cc74a6',
    500: '#b12f82',
    950: '#000000',
  },
}
SCSS
$custom: #b12f82;
$custom-light: #cc74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f82",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 321.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53097,
    "c": 0.18479,
    "h": 346.1
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#B12F82
secondary
#76C593
accent
#E17E47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12F82

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

Preview Lab → · Contrast checker → · Palette generator →

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