#B2286C#B2286C

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

Color values

HEX#B2286C
RGBrgb(178, 40, 108)
HSLhsl(330, 63%, 43%)
HSVhsv(330, 78%, 70%)
CMYKcmyk(0%, 77.5%, 39.3%, 30.2%)
CIE-LABlab(41.32, 59.10, -5.29)
CIE-LCHlch(41.32, 59.34, 354.89°)
OKLaboklab(51.82% 0.1817 -0.0132)
OKLCHoklch(51.82% 0.182 355.9)
XYZxyz(21.8272, 12.0680, 15.3644)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2286C #28B26E
analogous
#B228B1 #B2286C #B22928
triadic
#B2286C #6CB228 #286CB2
tetradic
#B2286C #B1B228 #28B26E #2928B2
square
#B2286C #B1B228 #28B26E #2928B2
split-complementary
#B2286C #28B229 #28B1B2
monochromatic
#4E122F #801D4E #B2286C #D5438B #E075A9

Accessibility & contrast

On white

6.15
#B2286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2286C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2286C#FFFFFF#000000##FFFFFF
##B2286C1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#6B6B69
Tritanopia (blue-blind)
#C11447
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2286c;
/* rgb */ color: rgb(178, 40, 108);
/* oklch */ color: oklch(51.8% 0.182 355.9);
Tailwind
colors: {
  custom: {
    50: '#ce7096',
    500: '#b2286c',
    950: '#000000',
  },
}
SCSS
$custom: #b2286c;
$custom-light: #ce7096;
$custom-dark: #000000;
JSON
{
  "hex": "#b2286c",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 330.435,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.18215,
    "h": 355.9
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2286C

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

Preview Lab → · Contrast checker → · Palette generator →

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