#B2286E#B2286E

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

Color values

HEX#B2286E
RGBrgb(178, 40, 110)
HSLhsl(330, 63%, 43%)
HSVhsv(330, 78%, 70%)
CMYKcmyk(0%, 77.5%, 38.2%, 30.2%)
CIE-LABlab(41.39, 59.31, -6.44)
CIE-LCHlch(41.39, 59.66, 353.81°)
OKLaboklab(51.89% 0.1823 -0.0162)
OKLCHoklch(51.89% 0.183 354.9)
XYZxyz(21.9348, 12.1111, 15.9314)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2286E #28B26C
analogous
#B128B2 #B2286E #B22829
triadic
#B2286E #6EB228 #286EB2
tetradic
#B2286E #B2B128 #28B26C #2829B2
square
#B2286E #B2B128 #28B26C #2829B2
split-complementary
#B2286E #29B228 #28B2B1
monochromatic
#4E1230 #801D4F #B2286E #D5438D #E075AB

Accessibility & contrast

On white

6.14
#B2286E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2286E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2286E#FFFFFF#000000##FFFFFF
##B2286E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#6B6B6B
Tritanopia (blue-blind)
#C01648
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2286e;
/* rgb */ color: rgb(178, 40, 110);
/* oklch */ color: oklch(51.9% 0.183 354.9);
Tailwind
colors: {
  custom: {
    50: '#ce7097',
    500: '#b2286e',
    950: '#000000',
  },
}
SCSS
$custom: #b2286e;
$custom-light: #ce7097;
$custom-dark: #000000;
JSON
{
  "hex": "#b2286e",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 329.565,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.18298,
    "h": 354.9
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2286E

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

Preview Lab → · Contrast checker → · Palette generator →

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