#B2286D#B2286D

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

Color values

HEX#B2286D
RGBrgb(178, 40, 109)
HSLhsl(330, 63%, 43%)
HSVhsv(330, 78%, 70%)
CMYKcmyk(0%, 77.5%, 38.8%, 30.2%)
CIE-LABlab(41.36, 59.21, -5.86)
CIE-LCHlch(41.36, 59.50, 354.34°)
OKLaboklab(51.86% 0.182 -0.0147)
OKLCHoklch(51.86% 0.183 355.4)
XYZxyz(21.8807, 12.0894, 15.6463)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2286D #28B26D
analogous
#B228B2 #B2286D #B22828
triadic
#B2286D #6DB228 #286DB2
tetradic
#B2286D #B2B228 #28B26D #2828B2
square
#B2286D #B2B228 #28B26D #2828B2
split-complementary
#B2286D #28B228 #28B2B2
monochromatic
#4E1230 #801D4E #B2286D #D5438C #E075AA

Accessibility & contrast

On white

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

On black

3.42
#B2286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B2286D#FFFFFF#000000##FFFFFF
##B2286D1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516F
Deuteranopia (green-blind)
#6B6B6A
Tritanopia (blue-blind)
#C01547
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2286d;
/* rgb */ color: rgb(178, 40, 109);
/* oklch */ color: oklch(51.9% 0.183 355.4);
Tailwind
colors: {
  custom: {
    50: '#ce7096',
    500: '#b2286d',
    950: '#000000',
  },
}
SCSS
$custom: #b2286d;
$custom-light: #ce7096;
$custom-dark: #000000;
JSON
{
  "hex": "#b2286d",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 330,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.18255,
    "h": 355.4
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#B2286D
secondary
#6FC79B
accent
#E69441
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B2286D

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

Preview Lab → · Contrast checker → · Palette generator →

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