#B0288E#B0288E

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

Color values

HEX#B0288E
RGBrgb(176, 40, 142)
HSLhsl(315, 63%, 42%)
HSVhsv(315, 77%, 69%)
CMYKcmyk(0%, 77.3%, 19.3%, 31%)
CIE-LABlab(42.31, 62.68, -24.80)
CIE-LCHlch(42.31, 67.41, 338.42°)
OKLaboklab(52.91% 0.1874 -0.0669)
OKLCHoklch(52.91% 0.199 340.3)
XYZxyz(23.5465, 12.7031, 26.7978)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0288E #28B04A
analogous
#8E28B0 #B0288E #B0284A
triadic
#B0288E #8EB028 #288EB0
tetradic
#B0288E #B08E28 #28B04A #284AB0
square
#B0288E #B08E28 #28B04A #284AB0
split-complementary
#B0288E #4AB028 #28B08E
monochromatic
#4C113E #7E1D66 #B0288E #D441AF #DF73C4

Accessibility & contrast

On white

5.93
#B0288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B0288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0288E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0288E#FFFFFF#000000##FFFFFF
##B0288E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#BB2C59
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0288e;
/* rgb */ color: rgb(176, 40, 142);
/* oklch */ color: oklch(52.9% 0.199 340.3);
Tailwind
colors: {
  custom: {
    50: '#cc71af',
    500: '#b0288e',
    950: '#000000',
  },
}
SCSS
$custom: #b0288e;
$custom-light: #cc71af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0288e",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 315,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.19896,
    "h": 340.3
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0288E

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

Preview Lab → · Contrast checker → · Palette generator →

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