#B2286B#B2286B

#B2286B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.182 H 356.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B2286B
RGBrgb(178, 40, 107)
HSLhsl(331, 63%, 43%)
HSVhsv(331, 78%, 70%)
CMYKcmyk(0%, 77.5%, 39.9%, 30.2%)
CIE-LABlab(41.29, 59.00, -4.71)
CIE-LCHlch(41.29, 59.19, 355.43°)
OKLaboklab(51.78% 0.1814 -0.0117)
OKLCHoklch(51.78% 0.182 356.3)
XYZxyz(21.7743, 12.0469, 15.0857)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2286B #28B26F
analogous
#B228B0 #B2286B #B22A28
triadic
#B2286B #6BB228 #286BB2
tetradic
#B2286B #B0B228 #28B26F #2A28B2
square
#B2286B #B0B228 #28B26F #2A28B2
split-complementary
#B2286B #28B22A #28B0B2
monochromatic
#4E122F #801D4D #B2286B #D54389 #E075A9

Accessibility & contrast

On white

6.16
#B2286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B2286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2286B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2286B#FFFFFF#000000##FFFFFF
##B2286B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516D
Deuteranopia (green-blind)
#6B6B68
Tritanopia (blue-blind)
#C11346
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2286b;
/* rgb */ color: rgb(178, 40, 107);
/* oklch */ color: oklch(51.8% 0.182 356.3);
Tailwind
colors: {
  custom: {
    50: '#ce7095',
    500: '#b2286b',
    950: '#000000',
  },
}
SCSS
$custom: #b2286b;
$custom-light: #ce7095;
$custom-dark: #000000;
JSON
{
  "hex": "#b2286b",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 330.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.18173,
    "h": 356.3
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#B2286B
secondary
#6FC79C
accent
#E69641
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2286B

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

Preview Lab → · Contrast checker → · Palette generator →

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