#B12F85#B12F85

#B12F85 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.187 H 344.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B12F85
RGBrgb(177, 47, 133)
HSLhsl(320, 58%, 44%)
HSVhsv(320, 73%, 69%)
CMYKcmyk(0%, 73.4%, 24.9%, 30.6%)
CIE-LABlab(42.88, 59.51, -18.42)
CIE-LCHlch(42.88, 62.30, 342.80°)
OKLaboklab(53.23% 0.18 -0.049)
OKLCHoklch(53.23% 0.187 344.8)
XYZxyz(23.3826, 13.0761, 23.4783)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F85 #2FB15B
analogous
#9C2FB1 #B12F85 #B12F44
triadic
#B12F85 #85B12F #2F85B1
tetradic
#B12F85 #B19C2F #2FB15B #2F44B1
square
#B12F85 #B19C2F #2FB15B #2F44B1
split-complementary
#B12F85 #44B12F #2FB19C
monochromatic
#50153C #812261 #B12F85 #D04DA4 #DD7EBD

Accessibility & contrast

On white

5.81
#B12F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B12F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F85
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F85#FFFFFF#000000##FFFFFF
##B12F851.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5787
Deuteranopia (green-blind)
#666D82
Tritanopia (blue-blind)
#BD2D56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12f85;
/* rgb */ color: rgb(177, 47, 133);
/* oklch */ color: oklch(53.2% 0.187 344.8);
Tailwind
colors: {
  custom: {
    50: '#cc74a8',
    500: '#b12f85',
    950: '#000000',
  },
}
SCSS
$custom: #b12f85;
$custom-light: #cc74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f85",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 320.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.18655,
    "h": 344.8
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#B12F85
secondary
#76C591
accent
#E17B47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12F85

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

Preview Lab → · Contrast checker → · Palette generator →

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