#B7279F#B7279F

#B7279F is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.8% C 0.215 H 336.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B7279F
RGBrgb(183, 39, 159)
HSLhsl(310, 65%, 44%)
HSVhsv(310, 79%, 72%)
CMYKcmyk(0%, 78.7%, 13.1%, 28.2%)
CIE-LABlab(44.27, 66.92, -31.92)
CIE-LCHlch(44.27, 74.14, 334.50°)
OKLaboklab(54.82% 0.1965 -0.0871)
OKLCHoklch(54.82% 0.215 336.1)
XYZxyz(26.5124, 14.0240, 34.1048)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7279F #27B73F
analogous
#8727B7 #B7279F #B72757
triadic
#B7279F #9FB727 #279FB7
tetradic
#B7279F #B78727 #27B73F #2757B7
square
#B7279F #B78727 #27B73F #2757B7
split-complementary
#B7279F #57B727 #27B787
monochromatic
#521147 #851C73 #B7279F #D744BF #E276D0

Accessibility & contrast

On white

5.52
#B7279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B7279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7279F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7279F#FFFFFF#000000##FFFFFF
##B7279F1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#C13362
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7279f;
/* rgb */ color: rgb(183, 39, 159);
/* oklch */ color: oklch(54.8% 0.215 336.1);
Tailwind
colors: {
  custom: {
    50: '#d172bc',
    500: '#b7279f',
    950: '#000000',
  },
}
SCSS
$custom: #b7279f;
$custom-light: #d172bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b7279f",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 310,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54815,
    "c": 0.21498,
    "h": 336.1
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#B7279F
secondary
#70C97F
accent
#E85C40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B7279F

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

Preview Lab → · Contrast checker → · Palette generator →

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