#B2288C#B2288C

#B2288C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.199 H 341.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B2288C
RGBrgb(178, 40, 140)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 78%, 70%)
CMYKcmyk(0%, 77.5%, 21.3%, 30.2%)
CIE-LABlab(42.58, 62.89, -23.14)
CIE-LCHlch(42.58, 67.01, 339.80°)
OKLaboklab(53.14% 0.1889 -0.0622)
OKLCHoklch(53.14% 0.199 341.8)
XYZxyz(23.8533, 12.8785, 26.0354)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2288C #28B24E
analogous
#9328B2 #B2288C #B22847
triadic
#B2288C #8CB228 #288CB2
tetradic
#B2288C #B29328 #28B24E #2847B2
square
#B2288C #B29328 #28B24E #2847B2
split-complementary
#B2288C #47B228 #28B293
monochromatic
#4E123D #801D65 #B2288C #D543AC #E075C2

Accessibility & contrast

On white

5.87
#B2288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B2288C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2288C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2288C#FFFFFF#000000##FFFFFF
##B2288C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568F
Deuteranopia (green-blind)
#626C89
Tritanopia (blue-blind)
#BD2A58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2288c;
/* rgb */ color: rgb(178, 40, 140);
/* oklch */ color: oklch(53.1% 0.199 341.8);
Tailwind
colors: {
  custom: {
    50: '#cd71ae',
    500: '#b2288c',
    950: '#000000',
  },
}
SCSS
$custom: #b2288c;
$custom-light: #cd71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2288c",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 316.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.19891,
    "h": 341.8
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#B2288C
secondary
#6FC787
accent
#E66F41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2288C

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

Preview Lab → · Contrast checker → · Palette generator →

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