#B0278C#B0278C

#B0278C is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.199 H 341.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B0278C
RGBrgb(176, 39, 140)
HSLhsl(316, 64%, 42%)
HSVhsv(316, 78%, 69%)
CMYKcmyk(0%, 77.8%, 20.5%, 31%)
CIE-LABlab(42.12, 62.70, -23.88)
CIE-LCHlch(42.12, 67.10, 339.15°)
OKLaboklab(52.74% 0.188 -0.0643)
OKLCHoklch(52.74% 0.199 341.1)
XYZxyz(23.3644, 12.5770, 26.0030)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0278C #27B04B
analogous
#8F27B0 #B0278C #B02748
triadic
#B0278C #8CB027 #278CB0
tetradic
#B0278C #B08F27 #27B04B #2748B0
square
#B0278C #B08F27 #27B04B #2748B0
split-complementary
#B0278C #48B027 #27B08F
monochromatic
#4C113C #7E1C64 #B0278C #D540AD #E072C3

Accessibility & contrast

On white

5.97
#B0278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B0278C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0278C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0278C#FFFFFF#000000##FFFFFF
##B0278C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0278c;
/* rgb */ color: rgb(176, 39, 140);
/* oklch */ color: oklch(52.7% 0.199 341.1);
Tailwind
colors: {
  custom: {
    50: '#cc71ae',
    500: '#b0278c',
    950: '#000000',
  },
}
SCSS
$custom: #b0278c;
$custom-light: #cc71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0278c",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 315.766,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.19869,
    "h": 341.1
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#B0278C
secondary
#6CC784
accent
#E76D41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0278C

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

Preview Lab → · Contrast checker → · Palette generator →

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