#B12F72#B12F72

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

Color values

HEX#B12F72
RGBrgb(177, 47, 114)
HSLhsl(329, 58%, 44%)
HSVhsv(329, 73%, 69%)
CMYKcmyk(0%, 73.4%, 35.6%, 30.6%)
CIE-LABlab(42.15, 57.21, -7.81)
CIE-LCHlch(42.15, 57.74, 352.22°)
OKLaboklab(52.46% 0.1754 -0.02)
OKLCHoklch(52.46% 0.176 353.5)
XYZxyz(22.1866, 12.5977, 17.1796)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F72 #2FB16E
analogous
#AF2FB1 #B12F72 #B12F31
triadic
#B12F72 #72B12F #2F72B1
tetradic
#B12F72 #B1AF2F #2FB16E #2F31B1
square
#B12F72 #B1AF2F #2FB16E #2F31B1
split-complementary
#B12F72 #31B12F #2FB1AF
monochromatic
#501534 #812253 #B12F72 #D04D91 #DD7EAF

Accessibility & contrast

On white

5.97
#B12F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B12F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F72
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F72#FFFFFF#000000##FFFFFF
##B12F721.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475474
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#BF234C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12f72;
/* rgb */ color: rgb(177, 47, 114);
/* oklch */ color: oklch(52.5% 0.176 353.5);
Tailwind
colors: {
  custom: {
    50: '#cd739a',
    500: '#b12f72',
    950: '#000000',
  },
}
SCSS
$custom: #b12f72;
$custom-light: #cd739a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f72",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 329.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.17649,
    "h": 353.5
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12F72

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

Preview Lab → · Contrast checker → · Palette generator →

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