#B931A0#B931A0

#B931A0 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.207 H 336.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B931A0
RGBrgb(185, 49, 160)
HSLhsl(311, 58%, 46%)
HSVhsv(311, 74%, 73%)
CMYKcmyk(0%, 73.5%, 13.5%, 27.5%)
CIE-LABlab(45.70, 64.54, -30.24)
CIE-LCHlch(45.70, 71.27, 334.90°)
OKLaboklab(55.93% 0.1897 -0.0824)
OKLCHoklch(55.93% 0.207 336.5)
XYZxyz(27.4515, 15.0515, 34.7104)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931A0 #31B94A
analogous
#8E31B9 #B931A0 #B9315C
triadic
#B931A0 #A0B931 #31A0B9
tetradic
#B931A0 #B98E31 #31B94A #315CB9
square
#B931A0 #B98E31 #31B94A #315CB9
split-complementary
#B931A0 #5CB931 #31B98E
monochromatic
#58174C #892476 #B931A0 #D255BB #DF86CE

Accessibility & contrast

On white

5.24
#B931A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B931A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931A0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931A0#FFFFFF#000000##FFFFFF
##B931A01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#63749D
Tritanopia (blue-blind)
#C33A65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b931a0;
/* rgb */ color: rgb(185, 49, 160);
/* oklch */ color: oklch(55.9% 0.207 336.5);
Tailwind
colors: {
  custom: {
    50: '#d276bc',
    500: '#b931a0',
    950: '#000000',
  },
}
SCSS
$custom: #b931a0;
$custom-light: #d276bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b931a0",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 311.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5593,
    "c": 0.20678,
    "h": 336.5
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#B931A0
secondary
#7DC88B
accent
#E16346
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B931A0

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

Preview Lab → · Contrast checker → · Palette generator →

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