#B2276F#B2276F

#B2276F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.184 H 354.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B2276F
RGBrgb(178, 39, 111)
HSLhsl(329, 64%, 43%)
HSVhsv(329, 78%, 70%)
CMYKcmyk(0%, 78.1%, 37.6%, 30.2%)
CIE-LABlab(41.32, 59.72, -7.17)
CIE-LCHlch(41.32, 60.14, 353.16°)
OKLaboklab(51.85% 0.1835 -0.0182)
OKLCHoklch(51.85% 0.184 354.3)
XYZxyz(21.9563, 12.0665, 16.2087)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2276F #27B26A
analogous
#AF27B2 #B2276F #B22729
triadic
#B2276F #6FB227 #276FB2
tetradic
#B2276F #B2AF27 #27B26A #2729B2
square
#B2276F #B2AF27 #27B26A #2729B2
split-complementary
#B2276F #29B227 #27B2AF
monochromatic
#4E1130 #801C50 #B2276F #D5418E #E073AC

Accessibility & contrast

On white

6.15
#B2276F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B2276F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2276F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2276F#FFFFFF#000000##FFFFFF
##B2276F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#6A6B6C
Tritanopia (blue-blind)
#C01548
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2276f;
/* rgb */ color: rgb(178, 39, 111);
/* oklch */ color: oklch(51.9% 0.184 354.3);
Tailwind
colors: {
  custom: {
    50: '#ce7098',
    500: '#b2276f',
    950: '#000000',
  },
}
SCSS
$custom: #b2276f;
$custom-light: #ce7098;
$custom-dark: #000000;
JSON
{
  "hex": "#b2276f",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 328.921,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.1844,
    "h": 354.3
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

primary
#B2276F
secondary
#6DC899
accent
#E79141
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B2276F

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

Preview Lab → · Contrast checker → · Palette generator →

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