#B0278E#B0278E

#B0278E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.200 H 340.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B0278E
RGBrgb(176, 39, 142)
HSLhsl(315, 64%, 42%)
HSVhsv(315, 78%, 69%)
CMYKcmyk(0%, 77.8%, 19.3%, 31%)
CIE-LABlab(42.21, 62.97, -24.96)
CIE-LCHlch(42.21, 67.74, 338.38°)
OKLaboklab(52.84% 0.1883 -0.0674)
OKLCHoklch(52.84% 0.2 340.3)
XYZxyz(23.5132, 12.6365, 26.7867)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0278E #27B049
analogous
#8E27B0 #B0278E #B02749
triadic
#B0278E #8EB027 #278EB0
tetradic
#B0278E #B08E27 #27B049 #2749B0
square
#B0278E #B08E27 #27B049 #2749B0
split-complementary
#B0278E #49B027 #27B08E
monochromatic
#4C113D #7E1C66 #B0278E #D540B0 #E072C4

Accessibility & contrast

On white

5.95
#B0278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B0278E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0278E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0278E#FFFFFF#000000##FFFFFF
##B0278E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#BB2C58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0278e;
/* rgb */ color: rgb(176, 39, 142);
/* oklch */ color: oklch(52.8% 0.200 340.3);
Tailwind
colors: {
  custom: {
    50: '#cc71af',
    500: '#b0278e',
    950: '#000000',
  },
}
SCSS
$custom: #b0278e;
$custom-light: #cc71af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0278e",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 314.891,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.19995,
    "h": 340.3
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#B0278E
secondary
#6CC783
accent
#E76A41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0278E

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

Preview Lab → · Contrast checker → · Palette generator →

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