#B9279D#B9279D

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

Color values

HEX#B9279D
RGBrgb(185, 39, 157)
HSLhsl(312, 65%, 44%)
HSVhsv(312, 79%, 73%)
CMYKcmyk(0%, 78.9%, 15.1%, 27.5%)
CIE-LABlab(44.52, 67.08, -30.29)
CIE-LCHlch(44.52, 73.60, 335.70°)
OKLaboklab(55.03% 0.1983 -0.0824)
OKLCHoklch(55.03% 0.215 337.4)
XYZxyz(26.8195, 14.2022, 33.2206)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9279D #27B943
analogous
#8C27B9 #B9279D #B92754
triadic
#B9279D #9DB927 #279DB9
tetradic
#B9279D #B98C27 #27B943 #2754B9
square
#B9279D #B98C27 #27B943 #2754B9
split-complementary
#B9279D #54B927 #27B98C
monochromatic
#541247 #861C72 #B9279D #D845BC #E378CE

Accessibility & contrast

On white

5.47
#B9279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B9279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9279D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9279D#FFFFFF#000000##FFFFFF
##B9279D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#61719A
Tritanopia (blue-blind)
#C33161
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9279d;
/* rgb */ color: rgb(185, 39, 157);
/* oklch */ color: oklch(55.0% 0.215 337.4);
Tailwind
colors: {
  custom: {
    50: '#d273ba',
    500: '#b9279d',
    950: '#000000',
  },
}
SCSS
$custom: #b9279d;
$custom-light: #d273ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b9279d",
  "rgb": {
    "r": 185,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 311.507,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.21474,
    "h": 337.4
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#B9279D
secondary
#72CA83
accent
#E86040
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B9279D

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

Preview Lab → · Contrast checker → · Palette generator →

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