#B2286A#B2286A

#B2286A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 356.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B2286A
RGBrgb(178, 40, 106)
HSLhsl(331, 63%, 43%)
HSVhsv(331, 78%, 70%)
CMYKcmyk(0%, 77.5%, 40.4%, 30.2%)
CIE-LABlab(41.26, 58.90, -4.14)
CIE-LCHlch(41.26, 59.04, 355.98°)
OKLaboklab(51.75% 0.1811 -0.0101)
OKLCHoklch(51.75% 0.181 356.8)
XYZxyz(21.7220, 12.0260, 14.8102)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2286A #28B270
analogous
#B228AF #B2286A #B22B28
triadic
#B2286A #6AB228 #286AB2
tetradic
#B2286A #AFB228 #28B270 #2B28B2
square
#B2286A #AFB228 #28B270 #2B28B2
split-complementary
#B2286A #28B22B #28AFB2
monochromatic
#4E122E #801D4C #B2286A #D54388 #E075A8

Accessibility & contrast

On white

6.17
#B2286A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B2286A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2286A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2286A#FFFFFF#000000##FFFFFF
##B2286A1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#6C6B67
Tritanopia (blue-blind)
#C11246
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2286a;
/* rgb */ color: rgb(178, 40, 106);
/* oklch */ color: oklch(51.7% 0.181 356.8);
Tailwind
colors: {
  custom: {
    50: '#ce7094',
    500: '#b2286a',
    950: '#000000',
  },
}
SCSS
$custom: #b2286a;
$custom-light: #ce7094;
$custom-dark: #000000;
JSON
{
  "hex": "#b2286a",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 331.304,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.18134,
    "h": 356.8
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#B2286A
secondary
#6FC79D
accent
#E69741
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2286A

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

Preview Lab → · Contrast checker → · Palette generator →

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