#B94271#B94271

#B94271 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.159 H 359.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B94271
RGBrgb(185, 66, 113)
HSLhsl(336, 47%, 49%)
HSVhsv(336, 64%, 73%)
CMYKcmyk(0%, 64.3%, 38.9%, 27.5%)
CIE-LABlab(46.19, 52.06, -1.07)
CIE-LCHlch(46.19, 52.07, 358.83°)
OKLaboklab(55.68% 0.1592 -0.0021)
OKLCHoklch(55.68% 0.159 359.2)
XYZxyz(24.9380, 15.4058, 17.2799)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94271 #42B98A
analogous
#B942AC #B94271 #B94F42
triadic
#B94271 #71B942 #4271B9
tetradic
#B94271 #ACB942 #42B98A #4F42B9
square
#B94271 #ACB942 #42B98A #4F42B9
split-complementary
#B94271 #42B94F #42ACB9
monochromatic
#5F223A #8C3255 #B94271 #CB6D92 #DB9AB4

Accessibility & contrast

On white

5.15
#B94271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B94271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B94271
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94271#FFFFFF#000000##FFFFFF
##B942711.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#C83655
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b94271;
/* rgb */ color: rgb(185, 66, 113);
/* oklch */ color: oklch(55.7% 0.159 359.2);
Tailwind
colors: {
  custom: {
    50: '#d27d99',
    500: '#b94271',
    950: '#000000',
  },
}
SCSS
$custom: #b94271;
$custom-light: #d27d99;
$custom-dark: #000000;
JSON
{
  "hex": "#b94271",
  "rgb": {
    "r": 185,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 336.303,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.15916,
    "h": 359.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#B94271
secondary
#90C7B1
accent
#D7A251
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #B94271

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

Preview Lab → · Contrast checker → · Palette generator →

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