#B2286F#B2286F

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

Color values

HEX#B2286F
RGBrgb(178, 40, 111)
HSLhsl(329, 63%, 43%)
HSVhsv(329, 78%, 70%)
CMYKcmyk(0%, 77.5%, 37.6%, 30.2%)
CIE-LABlab(41.43, 59.42, -7.01)
CIE-LCHlch(41.43, 59.83, 353.27°)
OKLaboklab(51.93% 0.1826 -0.0178)
OKLCHoklch(51.93% 0.183 354.4)
XYZxyz(21.9896, 12.1330, 16.2198)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2286F #28B26B
analogous
#B028B2 #B2286F #B2282A
triadic
#B2286F #6FB228 #286FB2
tetradic
#B2286F #B2B028 #28B26B #282AB2
square
#B2286F #B2B028 #28B26B #282AB2
split-complementary
#B2286F #2AB228 #28B2B0
monochromatic
#4E1231 #801D50 #B2286F #D5438E #E075AC

Accessibility & contrast

On white

6.13
#B2286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B2286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2286F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2286F#FFFFFF#000000##FFFFFF
##B2286F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#6A6B6C
Tritanopia (blue-blind)
#C01748
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2286f;
/* rgb */ color: rgb(178, 40, 111);
/* oklch */ color: oklch(51.9% 0.183 354.4);
Tailwind
colors: {
  custom: {
    50: '#ce7098',
    500: '#b2286f',
    950: '#000000',
  },
}
SCSS
$custom: #b2286f;
$custom-light: #ce7098;
$custom-dark: #000000;
JSON
{
  "hex": "#b2286f",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 329.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.18341,
    "h": 354.4
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#B2286F
secondary
#6FC79A
accent
#E69241
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B2286F

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

Preview Lab → · Contrast checker → · Palette generator →

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