#B12F8A#B12F8A

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

Color values

HEX#B12F8A
RGBrgb(177, 47, 138)
HSLhsl(318, 58%, 44%)
HSVhsv(318, 73%, 69%)
CMYKcmyk(0%, 73.4%, 22%, 30.6%)
CIE-LABlab(43.09, 60.17, -21.14)
CIE-LCHlch(43.09, 63.78, 340.64°)
OKLaboklab(53.45% 0.1809 -0.0567)
OKLCHoklch(53.45% 0.19 342.6)
XYZxyz(23.7362, 13.2176, 25.3410)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F8A #2FB156
analogous
#972FB1 #B12F8A #B12F49
triadic
#B12F8A #8AB12F #2F8AB1
tetradic
#B12F8A #B1972F #2FB156 #2F49B1
square
#B12F8A #B1972F #2FB156 #2F49B1
split-complementary
#B12F8A #49B12F #2FB197
monochromatic
#50153F #812264 #B12F8A #D04DA9 #DD7EC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12F8A#FFFFFF#000000##FFFFFF
##B12F8A1.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)
#3C588C
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BC3059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b12f8a;
/* rgb */ color: rgb(177, 47, 138);
/* oklch */ color: oklch(53.4% 0.190 342.6);
Tailwind
colors: {
  custom: {
    50: '#cc74ac',
    500: '#b12f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b12f8a;
$custom-light: #cc74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f8a",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 318,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.1896,
    "h": 342.6
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#B12F8A
secondary
#76C58E
accent
#E17547
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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