#B2256B#B2256B

#B2256B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.185 H 356.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B2256B
RGBrgb(178, 37, 107)
HSLhsl(330, 66%, 42%)
HSVhsv(330, 79%, 70%)
CMYKcmyk(0%, 79.2%, 39.9%, 30.2%)
CIE-LABlab(40.98, 59.88, -5.17)
CIE-LCHlch(40.98, 60.10, 355.06°)
OKLaboklab(51.56% 0.1842 -0.0129)
OKLCHoklch(51.56% 0.185 356)
XYZxyz(21.6771, 11.8524, 15.0533)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2256B #25B26C
analogous
#B225B1 #B2256B #B22625
triadic
#B2256B #6BB225 #256BB2
tetradic
#B2256B #B1B225 #25B26C #2625B2
square
#B2256B #B1B225 #25B26C #2625B2
split-complementary
#B2256B #25B226 #25B1B2
monochromatic
#4D102E #7F1A4D #B2256B #D73D8A #E170A8

Accessibility & contrast

On white

6.23
#B2256B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B2256B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2256B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2256B#FFFFFF#000000##FFFFFF
##B2256B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2256b;
/* rgb */ color: rgb(178, 37, 107);
/* oklch */ color: oklch(51.6% 0.185 356.0);
Tailwind
colors: {
  custom: {
    50: '#ce6f95',
    500: '#b2256b',
    950: '#000000',
  },
}
SCSS
$custom: #b2256b;
$custom-light: #ce6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#b2256b",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 330.213,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.18462,
    "h": 356
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#B2256B
secondary
#6BC89A
accent
#E9953F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2256B

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

Preview Lab → · Contrast checker → · Palette generator →

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