#B0288B#B0288B

#B0288B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.197 H 341.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B0288B
RGBrgb(176, 40, 139)
HSLhsl(316, 63%, 42%)
HSVhsv(316, 77%, 69%)
CMYKcmyk(0%, 77.3%, 21%, 31%)
CIE-LABlab(42.18, 62.28, -23.18)
CIE-LCHlch(42.18, 66.45, 339.58°)
OKLaboklab(52.77% 0.1869 -0.0624)
OKLCHoklch(52.77% 0.197 341.5)
XYZxyz(23.3243, 12.6142, 25.6275)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0288B #28B04D
analogous
#9128B0 #B0288B #B02847
triadic
#B0288B #8BB028 #288BB0
tetradic
#B0288B #B09128 #28B04D #2847B0
square
#B0288B #B09128 #28B04D #2847B0
split-complementary
#B0288B #47B028 #28B091
monochromatic
#4C113C #7E1D64 #B0288B #D441AC #DF73C2

Accessibility & contrast

On white

5.96
#B0288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B0288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0288B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0288B#FFFFFF#000000##FFFFFF
##B0288B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#616B88
Tritanopia (blue-blind)
#BB2B57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0288b;
/* rgb */ color: rgb(176, 40, 139);
/* oklch */ color: oklch(52.8% 0.197 341.5);
Tailwind
colors: {
  custom: {
    50: '#cc71ad',
    500: '#b0288b',
    950: '#000000',
  },
}
SCSS
$custom: #b0288b;
$custom-light: #cc71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0288b",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 316.324,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.19707,
    "h": 341.5
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#B0288B
secondary
#6DC686
accent
#E66E42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0288B

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

Preview Lab → · Contrast checker → · Palette generator →

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