#B0278B#B0278B

#B0278B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.7% C 0.198 H 341.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B0278B
RGBrgb(176, 39, 139)
HSLhsl(316, 64%, 42%)
HSVhsv(316, 78%, 69%)
CMYKcmyk(0%, 77.8%, 21%, 31%)
CIE-LABlab(42.07, 62.57, -23.34)
CIE-LCHlch(42.07, 66.78, 339.54°)
OKLaboklab(52.7% 0.1878 -0.0628)
OKLCHoklch(52.7% 0.198 341.5)
XYZxyz(23.2910, 12.5476, 25.6164)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0278B #27B04C
analogous
#9027B0 #B0278B #B02747
triadic
#B0278B #8BB027 #278BB0
tetradic
#B0278B #B09027 #27B04C #2747B0
square
#B0278B #B09027 #27B04C #2747B0
split-complementary
#B0278B #47B027 #27B090
monochromatic
#4C113C #7E1C63 #B0278B #D540AC #E072C2

Accessibility & contrast

On white

5.98
#B0278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B0278B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0278B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0278B#FFFFFF#000000##FFFFFF
##B0278B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#BB2A57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0278b;
/* rgb */ color: rgb(176, 39, 139);
/* oklch */ color: oklch(52.7% 0.198 341.5);
Tailwind
colors: {
  custom: {
    50: '#cc71ad',
    500: '#b0278b',
    950: '#000000',
  },
}
SCSS
$custom: #b0278b;
$custom-light: #cc71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0278b",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 316.204,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52695,
    "c": 0.19805,
    "h": 341.5
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0278B

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

Preview Lab → · Contrast checker → · Palette generator →

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