#B0256C#B0256C

#B0256C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.184 H 355.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B0256C
RGBrgb(176, 37, 108)
HSLhsl(329, 65%, 42%)
HSVhsv(329, 79%, 69%)
CMYKcmyk(0%, 79%, 38.6%, 31%)
CIE-LABlab(40.64, 59.46, -6.35)
CIE-LCHlch(40.64, 59.80, 353.90°)
OKLaboklab(51.25% 0.1828 -0.016)
OKLCHoklch(51.25% 0.184 355)
XYZxyz(21.2743, 11.6387, 15.3106)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0256C #25B069
analogous
#AF25B0 #B0256C #B02526
triadic
#B0256C #6CB025 #256CB0
tetradic
#B0256C #B0AF25 #25B069 #2526B0
square
#B0256C #B0AF25 #25B069 #2526B0
split-complementary
#B0256C #26B025 #25B0AF
monochromatic
#4B102E #7D1A4D #B0256C #D63C8B #E16FA9

Accessibility & contrast

On white

6.31
#B0256C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B0256C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0256C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0256C#FFFFFF#000000##FFFFFF
##B0256C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#BE1046
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b0256c;
/* rgb */ color: rgb(176, 37, 108);
/* oklch */ color: oklch(51.2% 0.184 355.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f96',
    500: '#b0256c',
    950: '#000000',
  },
}
SCSS
$custom: #b0256c;
$custom-light: #cd6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#b0256c",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 329.353,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.18352,
    "h": 355
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#B0256C
secondary
#6AC797
accent
#E89240
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0256C

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

Preview Lab → · Contrast checker → · Palette generator →

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