#B0278A#B0278A

#B0278A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.197 H 341.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B0278A
RGBrgb(176, 39, 138)
HSLhsl(317, 64%, 42%)
HSVhsv(317, 78%, 69%)
CMYKcmyk(0%, 77.8%, 21.6%, 31%)
CIE-LABlab(42.03, 62.44, -22.80)
CIE-LCHlch(42.03, 66.47, 339.94°)
OKLaboklab(52.65% 0.1877 -0.0613)
OKLCHoklch(52.65% 0.197 341.9)
XYZxyz(23.2183, 12.5186, 25.2334)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0278A #27B04D
analogous
#9127B0 #B0278A #B02746
triadic
#B0278A #8AB027 #278AB0
tetradic
#B0278A #B09127 #27B04D #2746B0
square
#B0278A #B09127 #27B04D #2746B0
split-complementary
#B0278A #46B027 #27B091
monochromatic
#4C113B #7E1C63 #B0278A #D540AB #E072C1

Accessibility & contrast

On white

5.99
#B0278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B0278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0278A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0278A#FFFFFF#000000##FFFFFF
##B0278A1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#BB2956
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0278a;
/* rgb */ color: rgb(176, 39, 138);
/* oklch */ color: oklch(52.6% 0.197 341.9);
Tailwind
colors: {
  custom: {
    50: '#cc70ac',
    500: '#b0278a',
    950: '#000000',
  },
}
SCSS
$custom: #b0278a;
$custom-light: #cc70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0278a",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 316.642,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.19743,
    "h": 341.9
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#B0278A
secondary
#6CC785
accent
#E76F41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0278A

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

Preview Lab → · Contrast checker → · Palette generator →

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