#B0288D#B0288D

#B0288D is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.198 H 340.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B0288D
RGBrgb(176, 40, 141)
HSLhsl(315, 63%, 42%)
HSVhsv(315, 77%, 69%)
CMYKcmyk(0%, 77.3%, 19.9%, 31%)
CIE-LABlab(42.27, 62.54, -24.26)
CIE-LCHlch(42.27, 67.08, 338.80°)
OKLaboklab(52.86% 0.1872 -0.0654)
OKLCHoklch(52.86% 0.198 340.7)
XYZxyz(23.4717, 12.6732, 26.4042)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0288D #28B04B
analogous
#8F28B0 #B0288D #B02849
triadic
#B0288D #8DB028 #288DB0
tetradic
#B0288D #B08F28 #28B04B #2849B0
square
#B0288D #B08F28 #28B04B #2849B0
split-complementary
#B0288D #49B028 #28B08F
monochromatic
#4C113D #7E1D65 #B0288D #D441AE #DF73C3

Accessibility & contrast

On white

5.94
#B0288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B0288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0288D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0288D#FFFFFF#000000##FFFFFF
##B0288D1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#BB2C58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0288d;
/* rgb */ color: rgb(176, 40, 141);
/* oklch */ color: oklch(52.9% 0.198 340.7);
Tailwind
colors: {
  custom: {
    50: '#cc71ae',
    500: '#b0288d',
    950: '#000000',
  },
}
SCSS
$custom: #b0288d;
$custom-light: #cc71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0288d",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 315.441,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.19832,
    "h": 340.7
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#B0288D
secondary
#6DC684
accent
#E66C42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0288D

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

Preview Lab → · Contrast checker → · Palette generator →

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