#B0256E#B0256E

#B0256E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.184 H 354.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B0256E
RGBrgb(176, 37, 110)
HSLhsl(328, 65%, 42%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 79%, 37.5%, 31%)
CIE-LABlab(40.71, 59.67, -7.50)
CIE-LCHlch(40.71, 60.14, 352.83°)
OKLaboklab(51.32% 0.1834 -0.0191)
OKLCHoklch(51.32% 0.184 354.1)
XYZxyz(21.3820, 11.6817, 15.8777)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0256E #25B067
analogous
#AD25B0 #B0256E #B02529
triadic
#B0256E #6EB025 #256EB0
tetradic
#B0256E #B0AD25 #25B067 #2529B0
square
#B0256E #B0AD25 #25B067 #2529B0
split-complementary
#B0256E #29B025 #25B0AD
monochromatic
#4B102F #7D1A4E #B0256E #D63C8D #E16FAB

Accessibility & contrast

On white

6.30
#B0256E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B0256E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0256E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0256E#FFFFFF#000000##FFFFFF
##B0256E1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415070
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#BE1247
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b0256e;
/* rgb */ color: rgb(176, 37, 110);
/* oklch */ color: oklch(51.3% 0.184 354.1);
Tailwind
colors: {
  custom: {
    50: '#cd6f97',
    500: '#b0256e',
    950: '#000000',
  },
}
SCSS
$custom: #b0256e;
$custom-light: #cd6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#b0256e",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 328.489,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.18438,
    "h": 354.1
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#B0256E
secondary
#6AC796
accent
#E89040
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0256E

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

Preview Lab → · Contrast checker → · Palette generator →

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