#B2256F#B2256F

#B2256F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.186 H 354.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B2256F
RGBrgb(178, 37, 111)
HSLhsl(329, 66%, 42%)
HSVhsv(329, 79%, 70%)
CMYKcmyk(0%, 79.2%, 37.6%, 30.2%)
CIE-LABlab(41.12, 60.29, -7.47)
CIE-LCHlch(41.12, 60.75, 352.94°)
OKLaboklab(51.7% 0.1853 -0.019)
OKLCHoklch(51.7% 0.186 354.2)
XYZxyz(21.8924, 11.9386, 16.1874)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2256F #25B268
analogous
#AF25B2 #B2256F #B22528
triadic
#B2256F #6FB225 #256FB2
tetradic
#B2256F #B2AF25 #25B268 #2528B2
square
#B2256F #B2AF25 #25B268 #2528B2
split-complementary
#B2256F #28B225 #25B2AF
monochromatic
#4D1030 #7F1A4F #B2256F #D73D8E #E170AC

Accessibility & contrast

On white

6.20
#B2256F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B2256F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2256F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2256F#FFFFFF#000000##FFFFFF
##B2256F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425171
Deuteranopia (green-blind)
#6A6A6C
Tritanopia (blue-blind)
#C01147
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2256f;
/* rgb */ color: rgb(178, 37, 111);
/* oklch */ color: oklch(51.7% 0.186 354.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f98',
    500: '#b2256f',
    950: '#000000',
  },
}
SCSS
$custom: #b2256f;
$custom-light: #ce6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#b2256f",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 328.511,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.18631,
    "h": 354.2
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#B2256F
secondary
#6BC897
accent
#E9903F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2256F

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

Preview Lab → · Contrast checker → · Palette generator →

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