#B2278E#B2278E

#B2278E is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.201 H 340.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B2278E
RGBrgb(178, 39, 142)
HSLhsl(316, 64%, 43%)
HSVhsv(316, 78%, 70%)
CMYKcmyk(0%, 78.1%, 20.2%, 30.2%)
CIE-LABlab(42.57, 63.44, -24.37)
CIE-LCHlch(42.57, 67.96, 338.99°)
OKLaboklab(53.16% 0.1901 -0.0657)
OKLCHoklch(53.16% 0.201 340.9)
XYZxyz(23.9689, 12.8715, 26.8081)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2278E #27B24B
analogous
#9127B2 #B2278E #B22748
triadic
#B2278E #8EB227 #278EB2
tetradic
#B2278E #B29127 #27B24B #2748B2
square
#B2278E #B29127 #27B24B #2748B2
split-complementary
#B2278E #48B227 #27B291
monochromatic
#4E113E #801C66 #B2278E #D541AF #E073C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2278E#FFFFFF#000000##FFFFFF
##B2278E1.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)
#345691
Deuteranopia (green-blind)
#616C8B
Tritanopia (blue-blind)
#BD2B58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2278e;
/* rgb */ color: rgb(178, 39, 142);
/* oklch */ color: oklch(53.2% 0.201 340.9);
Tailwind
colors: {
  custom: {
    50: '#cd71af',
    500: '#b2278e',
    950: '#000000',
  },
}
SCSS
$custom: #b2278e;
$custom-light: #cd71af;
$custom-dark: #000000;
JSON
{
  "hex": "#b2278e",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 315.54,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.20113,
    "h": 340.9
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#B2278E
secondary
#6DC885
accent
#E76C41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2278E

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

Preview Lab → · Contrast checker → · Palette generator →

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