#B3278B#B3278B

#B3278B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.2% C 0.200 H 342.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B3278B
RGBrgb(179, 39, 139)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 70%)
CMYKcmyk(0%, 78.2%, 22.3%, 29.8%)
CIE-LABlab(42.61, 63.28, -22.46)
CIE-LCHlch(42.61, 67.15, 340.46°)
OKLaboklab(53.19% 0.1906 -0.0603)
OKLCHoklch(53.19% 0.2 342.4)
XYZxyz(23.9770, 12.9014, 25.6486)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3278B #27B34F
analogous
#9527B3 #B3278B #B32745
triadic
#B3278B #8BB327 #278BB3
tetradic
#B3278B #B39527 #27B34F #2745B3
square
#B3278B #B39527 #27B34F #2745B3
split-complementary
#B3278B #45B327 #27B395
monochromatic
#4E113D #811C64 #B3278B #D641AB #E174C2

Accessibility & contrast

On white

5.87
#B3278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B3278B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3278B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3278B#FFFFFF#000000##FFFFFF
##B3278B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#BF2857
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3278b;
/* rgb */ color: rgb(179, 39, 139);
/* oklch */ color: oklch(53.2% 0.200 342.4);
Tailwind
colors: {
  custom: {
    50: '#ce71ad',
    500: '#b3278b',
    950: '#000000',
  },
}
SCSS
$custom: #b3278b;
$custom-light: #ce71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3278b",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 317.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.19988,
    "h": 342.4
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#B3278B
secondary
#6EC888
accent
#E77041
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3278B

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

Preview Lab → · Contrast checker → · Palette generator →

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