#B12F71#B12F71

#B12F71 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.176 H 354.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B12F71
RGBrgb(177, 47, 113)
HSLhsl(330, 58%, 44%)
HSVhsv(330, 73%, 69%)
CMYKcmyk(0%, 73.4%, 36.2%, 30.6%)
CIE-LABlab(42.12, 57.10, -7.24)
CIE-LCHlch(42.12, 57.56, 352.77°)
OKLaboklab(52.42% 0.1751 -0.0184)
OKLCHoklch(52.42% 0.176 354)
XYZxyz(22.1300, 12.5751, 16.8814)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F71 #2FB16F
analogous
#B02FB1 #B12F71 #B12F30
triadic
#B12F71 #71B12F #2F71B1
tetradic
#B12F71 #B1B02F #2FB16F #2F30B1
square
#B12F71 #B1B02F #2FB16F #2F30B1
split-complementary
#B12F71 #30B12F #2FB1B0
monochromatic
#501533 #812252 #B12F71 #D04D90 #DD7EAE

Accessibility & contrast

On white

5.98
#B12F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B12F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F71
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F71#FFFFFF#000000##FFFFFF
##B12F711.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#BF224C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12f71;
/* rgb */ color: rgb(177, 47, 113);
/* oklch */ color: oklch(52.4% 0.176 354.0);
Tailwind
colors: {
  custom: {
    50: '#cd7399',
    500: '#b12f71',
    950: '#000000',
  },
}
SCSS
$custom: #b12f71;
$custom-light: #cd7399;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f71",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 329.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.17604,
    "h": 354
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#B12F71
secondary
#76C59D
accent
#E19347
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12F71

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

Preview Lab → · Contrast checker → · Palette generator →

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