#B2276B#B2276B

#B2276B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.183 H 356.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B2276B
RGBrgb(178, 39, 107)
HSLhsl(331, 64%, 43%)
HSVhsv(331, 78%, 70%)
CMYKcmyk(0%, 78.1%, 39.9%, 30.2%)
CIE-LABlab(41.18, 59.30, -4.87)
CIE-LCHlch(41.18, 59.50, 355.30°)
OKLaboklab(51.71% 0.1823 -0.0121)
OKLCHoklch(51.71% 0.183 356.2)
XYZxyz(21.7410, 11.9803, 15.0746)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2276B #27B26E
analogous
#B227B1 #B2276B #B22827
triadic
#B2276B #6BB227 #276BB2
tetradic
#B2276B #B1B227 #27B26E #2827B2
square
#B2276B #B1B227 #27B26E #2827B2
split-complementary
#B2276B #27B228 #27B1B2
monochromatic
#4E112F #801C4D #B2276B #D54189 #E073A9

Accessibility & contrast

On white

6.18
#B2276B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B2276B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2276B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2276B#FFFFFF#000000##FFFFFF
##B2276B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#C11146
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2276b;
/* rgb */ color: rgb(178, 39, 107);
/* oklch */ color: oklch(51.7% 0.183 356.2);
Tailwind
colors: {
  custom: {
    50: '#ce7095',
    500: '#b2276b',
    950: '#000000',
  },
}
SCSS
$custom: #b2276b;
$custom-light: #ce7095;
$custom-dark: #000000;
JSON
{
  "hex": "#b2276b",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 330.647,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.18272,
    "h": 356.2
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#B2276B
secondary
#6DC89B
accent
#E79641
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2276B

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

Preview Lab → · Contrast checker → · Palette generator →

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