#B3278A#B3278A

#B3278A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.199 H 342.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B3278A
RGBrgb(179, 39, 138)
HSLhsl(318, 64%, 43%)
HSVhsv(318, 78%, 70%)
CMYKcmyk(0%, 78.2%, 22.9%, 29.8%)
CIE-LABlab(42.57, 63.15, -21.92)
CIE-LCHlch(42.57, 66.85, 340.86°)
OKLaboklab(53.14% 0.1904 -0.0588)
OKLCHoklch(53.14% 0.199 342.9)
XYZxyz(23.9043, 12.8723, 25.2655)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3278A #27B350
analogous
#9627B3 #B3278A #B32744
triadic
#B3278A #8AB327 #278AB3
tetradic
#B3278A #B39627 #27B350 #2744B3
square
#B3278A #B39627 #27B350 #2744B3
split-complementary
#B3278A #44B327 #27B396
monochromatic
#4E113D #811C63 #B3278A #D641AA #E174C1

Accessibility & contrast

On white

5.88
#B3278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B3278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3278A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3278A#FFFFFF#000000##FFFFFF
##B3278A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#BF2856
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3278a;
/* rgb */ color: rgb(179, 39, 138);
/* oklch */ color: oklch(53.1% 0.199 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce71ac',
    500: '#b3278a',
    950: '#000000',
  },
}
SCSS
$custom: #b3278a;
$custom-light: #ce71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3278a",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 317.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.19928,
    "h": 342.9
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3278A

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

Preview Lab → · Contrast checker → · Palette generator →

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