#B12F89#B12F89

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

Color values

HEX#B12F89
RGBrgb(177, 47, 137)
HSLhsl(318, 58%, 44%)
HSVhsv(318, 73%, 69%)
CMYKcmyk(0%, 73.4%, 22.6%, 30.6%)
CIE-LABlab(43.05, 60.04, -20.60)
CIE-LCHlch(43.05, 63.48, 341.06°)
OKLaboklab(53.4% 0.1808 -0.0551)
OKLCHoklch(53.4% 0.189 343)
XYZxyz(23.6642, 13.1887, 24.9615)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F89 #2FB157
analogous
#982FB1 #B12F89 #B12F48
triadic
#B12F89 #89B12F #2F89B1
tetradic
#B12F89 #B1982F #2FB157 #2F48B1
square
#B12F89 #B1982F #2FB157 #2F48B1
split-complementary
#B12F89 #48B12F #2FB198
monochromatic
#50153E #812264 #B12F89 #D04DA8 #DD7EBF

Accessibility & contrast

On white

5.77
#B12F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12F89
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F89#FFFFFF#000000##FFFFFF
##B12F891.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588B
Deuteranopia (green-blind)
#656D86
Tritanopia (blue-blind)
#BC2F58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b12f89;
/* rgb */ color: rgb(177, 47, 137);
/* oklch */ color: oklch(53.4% 0.189 343.0);
Tailwind
colors: {
  custom: {
    50: '#cc74ab',
    500: '#b12f89',
    950: '#000000',
  },
}
SCSS
$custom: #b12f89;
$custom-light: #cc74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f89",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 318.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.18897,
    "h": 343
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#B12F89
secondary
#76C58F
accent
#E17647
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12F89

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

Preview Lab → · Contrast checker → · Palette generator →

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