#B0288C#B0288C

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

Color values

HEX#B0288C
RGBrgb(176, 40, 140)
HSLhsl(316, 63%, 42%)
HSVhsv(316, 77%, 69%)
CMYKcmyk(0%, 77.3%, 20.5%, 31%)
CIE-LABlab(42.22, 62.41, -23.72)
CIE-LCHlch(42.22, 66.77, 339.19°)
OKLaboklab(52.82% 0.1871 -0.0639)
OKLCHoklch(52.82% 0.198 341.1)
XYZxyz(23.3977, 12.6435, 26.0141)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0288C #28B04C
analogous
#9028B0 #B0288C #B02848
triadic
#B0288C #8CB028 #288CB0
tetradic
#B0288C #B09028 #28B04C #2848B0
square
#B0288C #B09028 #28B04C #2848B0
split-complementary
#B0288C #48B028 #28B090
monochromatic
#4C113D #7E1D64 #B0288C #D441AD #DF73C3

Accessibility & contrast

On white

5.95
#B0288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0288C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0288C#FFFFFF#000000##FFFFFF
##B0288C1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#606B89
Tritanopia (blue-blind)
#BB2B57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0288c;
/* rgb */ color: rgb(176, 40, 140);
/* oklch */ color: oklch(52.8% 0.198 341.1);
Tailwind
colors: {
  custom: {
    50: '#cc71ae',
    500: '#b0288c',
    950: '#000000',
  },
}
SCSS
$custom: #b0288c;
$custom-light: #cc71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0288c",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 315.882,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.19769,
    "h": 341.1
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#B0288C
secondary
#6DC685
accent
#E66D42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0288C

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

Preview Lab → · Contrast checker → · Palette generator →

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