#B2256C#B2256C

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

Color values

HEX#B2256C
RGBrgb(178, 37, 108)
HSLhsl(330, 66%, 42%)
HSVhsv(330, 79%, 70%)
CMYKcmyk(0%, 79.2%, 39.3%, 30.2%)
CIE-LABlab(41.01, 59.98, -5.75)
CIE-LCHlch(41.01, 60.26, 354.52°)
OKLaboklab(51.59% 0.1845 -0.0144)
OKLCHoklch(51.59% 0.185 355.5)
XYZxyz(21.7300, 11.8736, 15.3320)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2256C #25B26B
analogous
#B125B2 #B2256C #B22526
triadic
#B2256C #6CB225 #256CB2
tetradic
#B2256C #B2B125 #25B26B #2526B2
square
#B2256C #B2B125 #25B26B #2526B2
split-complementary
#B2256C #26B225 #25B2B1
monochromatic
#4D102F #7F1A4D #B2256C #D73D8B #E170A9

Accessibility & contrast

On white

6.22
#B2256C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2256C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2256C#FFFFFF#000000##FFFFFF
##B2256C1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506E
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#C10E46
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2256c;
/* rgb */ color: rgb(178, 37, 108);
/* oklch */ color: oklch(51.6% 0.185 355.5);
Tailwind
colors: {
  custom: {
    50: '#ce6f96',
    500: '#b2256c',
    950: '#000000',
  },
}
SCSS
$custom: #b2256c;
$custom-light: #ce6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#b2256c",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 329.787,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.18503,
    "h": 355.5
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#B2256C
secondary
#6BC899
accent
#E9933F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2256C

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

Preview Lab → · Contrast checker → · Palette generator →

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