#B12F83#B12F83

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

Color values

HEX#B12F83
RGBrgb(177, 47, 131)
HSLhsl(321, 58%, 44%)
HSVhsv(321, 73%, 69%)
CMYKcmyk(0%, 73.4%, 26%, 30.6%)
CIE-LABlab(42.80, 59.26, -17.32)
CIE-LCHlch(42.80, 61.73, 343.71°)
OKLaboklab(53.14% 0.1796 -0.046)
OKLCHoklch(53.14% 0.185 345.6)
XYZxyz(23.2457, 13.0213, 22.7575)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F83 #2FB15D
analogous
#9E2FB1 #B12F83 #B12F42
triadic
#B12F83 #83B12F #2F83B1
tetradic
#B12F83 #B19E2F #2FB15D #2F42B1
square
#B12F83 #B19E2F #2FB15D #2F42B1
split-complementary
#B12F83 #42B12F #2FB19E
monochromatic
#50153B #81225F #B12F83 #D04DA2 #DD7EBB

Accessibility & contrast

On white

5.83
#B12F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12F83
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F83#FFFFFF#000000##FFFFFF
##B12F831.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5785
Deuteranopia (green-blind)
#666D80
Tritanopia (blue-blind)
#BD2C55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12f83;
/* rgb */ color: rgb(177, 47, 131);
/* oklch */ color: oklch(53.1% 0.185 345.6);
Tailwind
colors: {
  custom: {
    50: '#cc74a7',
    500: '#b12f83',
    950: '#000000',
  },
}
SCSS
$custom: #b12f83;
$custom-light: #cc74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f83",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 321.231,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.18537,
    "h": 345.6
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#B12F83
secondary
#76C592
accent
#E17D47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12F83

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

Preview Lab → · Contrast checker → · Palette generator →

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