#B951A7#B951A7

#B951A7 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.169 H 334.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B951A7
RGBrgb(185, 81, 167)
HSLhsl(310, 43%, 52%)
HSVhsv(310, 56%, 73%)
CMYKcmyk(0%, 56.2%, 9.7%, 27.5%)
CIE-LABlab(50.68, 52.75, -26.64)
CIE-LCHlch(50.68, 59.09, 333.21°)
OKLaboklab(59.66% 0.1527 -0.0724)
OKLCHoklch(59.66% 0.169 334.6)
XYZxyz(29.9252, 18.9913, 38.6413)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951A7 #51B963
analogous
#9751B9 #B951A7 #B95173
triadic
#B951A7 #A7B951 #51A7B9
tetradic
#B951A7 #B99751 #51B963 #5173B9
square
#B951A7 #B99751 #51B963 #5173B9
split-complementary
#B951A7 #73B951 #51B997
monochromatic
#66295C #923B83 #B951A7 #CB7DBD #DCA8D3

Accessibility & contrast

On white

4.38
#B951A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B951A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951A7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951A7#FFFFFF#000000##000000
##B951A71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#707EA4
Tritanopia (blue-blind)
#C15775
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b951a7;
/* rgb */ color: rgb(185, 81, 167);
/* oklch */ color: oklch(59.7% 0.169 334.6);
Tailwind
colors: {
  custom: {
    50: '#d187c1',
    500: '#b951a7',
    950: '#000000',
  },
}
SCSS
$custom: #b951a7;
$custom-light: #d187c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b951a7",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 310.385,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.16896,
    "h": 334.6
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#B951A7
secondary
#9CCAA4
accent
#D26B55
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B951A7

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

Preview Lab → · Contrast checker → · Palette generator →

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