#B5279B#B5279B

#B5279B is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.3% C 0.211 H 336.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B5279B
RGBrgb(181, 39, 155)
HSLhsl(311, 65%, 43%)
HSVhsv(311, 78%, 71%)
CMYKcmyk(0%, 78.5%, 14.4%, 29%)
CIE-LABlab(43.72, 65.91, -30.40)
CIE-LCHlch(43.72, 72.59, 335.24°)
OKLaboklab(54.29% 0.1943 -0.0828)
OKLCHoklch(54.29% 0.211 336.9)
XYZxyz(25.6985, 13.6438, 32.2841)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5279B #27B541
analogous
#8827B5 #B5279B #B52754
triadic
#B5279B #9BB527 #279BB5
tetradic
#B5279B #B58827 #27B541 #2754B5
square
#B5279B #B58827 #27B541 #2754B5
split-complementary
#B5279B #54B527 #27B588
monochromatic
#501145 #831C70 #B5279B #D643BB #E175CD

Accessibility & contrast

On white

5.63
#B5279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B5279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5279B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5279B#FFFFFF#000000##FFFFFF
##B5279B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9E
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#BF3160
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5279b;
/* rgb */ color: rgb(181, 39, 155);
/* oklch */ color: oklch(54.3% 0.211 336.9);
Tailwind
colors: {
  custom: {
    50: '#cf72b9',
    500: '#b5279b',
    950: '#000000',
  },
}
SCSS
$custom: #b5279b;
$custom-light: #cf72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5279b",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 310.986,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.21124,
    "h": 336.9
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#B5279B
secondary
#6FC980
accent
#E85F40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5279B

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

Preview Lab → · Contrast checker → · Palette generator →

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