#B2288A#B2288A

#B2288A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.198 H 342.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B2288A
RGBrgb(178, 40, 138)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 78%, 70%)
CMYKcmyk(0%, 77.5%, 22.5%, 30.2%)
CIE-LABlab(42.49, 62.62, -22.05)
CIE-LCHlch(42.49, 66.39, 340.60°)
OKLaboklab(53.05% 0.1886 -0.0592)
OKLCHoklch(53.05% 0.198 342.6)
XYZxyz(23.7072, 12.8200, 25.2658)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2288A #28B250
analogous
#9528B2 #B2288A #B22845
triadic
#B2288A #8AB228 #288AB2
tetradic
#B2288A #B29528 #28B250 #2845B2
square
#B2288A #B29528 #28B250 #2845B2
split-complementary
#B2288A #45B228 #28B295
monochromatic
#4E123D #801D63 #B2288A #D543AA #E075C1

Accessibility & contrast

On white

5.89
#B2288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B2288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2288A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2288A#FFFFFF#000000##FFFFFF
##B2288A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#636C87
Tritanopia (blue-blind)
#BE2956
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2288a;
/* rgb */ color: rgb(178, 40, 138);
/* oklch */ color: oklch(53.0% 0.198 342.6);
Tailwind
colors: {
  custom: {
    50: '#cd71ac',
    500: '#b2288a',
    950: '#000000',
  },
}
SCSS
$custom: #b2288a;
$custom-light: #cd71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2288a",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 317.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.19768,
    "h": 342.6
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#B2288A
secondary
#6FC788
accent
#E67141
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2288A

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

Preview Lab → · Contrast checker → · Palette generator →

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