#B0256F#B0256F

#B0256F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.185 H 353.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B0256F
RGBrgb(176, 37, 111)
HSLhsl(328, 65%, 42%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 79%, 36.9%, 31%)
CIE-LABlab(40.74, 59.78, -8.07)
CIE-LCHlch(40.74, 60.32, 352.31°)
OKLaboklab(51.36% 0.1837 -0.0206)
OKLCHoklch(51.36% 0.185 353.6)
XYZxyz(21.4367, 11.7036, 16.1660)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0256F #25B066
analogous
#AC25B0 #B0256F #B02529
triadic
#B0256F #6FB025 #256FB0
tetradic
#B0256F #B0AC25 #25B066 #2529B0
square
#B0256F #B0AC25 #25B066 #2529B0
split-complementary
#B0256F #29B025 #25B0AC
monochromatic
#4B102F #7D1A4F #B0256F #D63C8E #E16FAB

Accessibility & contrast

On white

6.29
#B0256F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0256F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0256F#FFFFFF#000000##FFFFFF
##B0256F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415071
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#BE1347
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b0256f;
/* rgb */ color: rgb(176, 37, 111);
/* oklch */ color: oklch(51.4% 0.185 353.6);
Tailwind
colors: {
  custom: {
    50: '#cd6f98',
    500: '#b0256f',
    950: '#000000',
  },
}
SCSS
$custom: #b0256f;
$custom-light: #cd6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#b0256f",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 328.058,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.18482,
    "h": 353.6
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#B0256F
secondary
#6AC795
accent
#E88E40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0256F

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

Preview Lab → · Contrast checker → · Palette generator →

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