#B2278D#B2278D

#B2278D is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.201 H 341.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B2278D
RGBrgb(178, 39, 141)
HSLhsl(316, 64%, 43%)
HSVhsv(316, 78%, 70%)
CMYKcmyk(0%, 78.1%, 20.8%, 30.2%)
CIE-LABlab(42.52, 63.31, -23.83)
CIE-LCHlch(42.52, 67.64, 339.37°)
OKLaboklab(53.12% 0.19 -0.0642)
OKLCHoklch(53.12% 0.201 341.3)
XYZxyz(23.8941, 12.8416, 26.4145)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2278D #27B24C
analogous
#9127B2 #B2278D #B22748
triadic
#B2278D #8DB227 #278DB2
tetradic
#B2278D #B29127 #27B24C #2748B2
square
#B2278D #B29127 #27B24C #2748B2
split-complementary
#B2278D #48B227 #27B291
monochromatic
#4E113D #801C65 #B2278D #D541AE #E073C3

Accessibility & contrast

On white

5.89
#B2278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2278D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2278D#FFFFFF#000000##FFFFFF
##B2278D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BD2A58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2278d;
/* rgb */ color: rgb(178, 39, 141);
/* oklch */ color: oklch(53.1% 0.201 341.3);
Tailwind
colors: {
  custom: {
    50: '#cd71ae',
    500: '#b2278d',
    950: '#000000',
  },
}
SCSS
$custom: #b2278d;
$custom-light: #cd71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2278d",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 315.971,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.20051,
    "h": 341.3
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2278D

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

Preview Lab → · Contrast checker → · Palette generator →

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