#B9279E#B9279E

#B9279E is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.1% C 0.215 H 337.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B9279E
RGBrgb(185, 39, 158)
HSLhsl(311, 65%, 44%)
HSVhsv(311, 79%, 73%)
CMYKcmyk(0%, 78.9%, 14.6%, 27.5%)
CIE-LABlab(44.57, 67.22, -30.82)
CIE-LCHlch(44.57, 73.95, 335.37°)
OKLaboklab(55.08% 0.1984 -0.0839)
OKLCHoklch(55.08% 0.215 337.1)
XYZxyz(26.9052, 14.2365, 33.6721)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9279E #27B942
analogous
#8B27B9 #B9279E #B92755
triadic
#B9279E #9EB927 #279EB9
tetradic
#B9279E #B98B27 #27B942 #2755B9
square
#B9279E #B98B27 #27B942 #2755B9
split-complementary
#B9279E #55B927 #27B98B
monochromatic
#541248 #861C73 #B9279E #D845BD #E378CF

Accessibility & contrast

On white

5.46
#B9279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B9279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9279E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9279E#FFFFFF#000000##FFFFFF
##B9279E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#C33261
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9279e;
/* rgb */ color: rgb(185, 39, 158);
/* oklch */ color: oklch(55.1% 0.215 337.1);
Tailwind
colors: {
  custom: {
    50: '#d273bb',
    500: '#b9279e',
    950: '#000000',
  },
}
SCSS
$custom: #b9279e;
$custom-light: #d273bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b9279e",
  "rgb": {
    "r": 185,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 311.096,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.21539,
    "h": 337.1
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#B9279E
secondary
#72CA82
accent
#E85F40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B9279E

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

Preview Lab → · Contrast checker → · Palette generator →

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