#B7286B#B7286B

#B7286B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.186 H 357.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B7286B
RGBrgb(183, 40, 107)
HSLhsl(332, 64%, 44%)
HSVhsv(332, 78%, 72%)
CMYKcmyk(0%, 78.1%, 41.5%, 28.2%)
CIE-LABlab(42.23, 60.33, -3.22)
CIE-LCHlch(42.23, 60.41, 356.95°)
OKLaboklab(52.64% 0.1855 -0.0077)
OKLCHoklch(52.64% 0.186 357.6)
XYZxyz(22.9428, 12.6494, 15.1405)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7286B #28B774
analogous
#B728B2 #B7286B #B72C28
triadic
#B7286B #6BB728 #286BB7
tetradic
#B7286B #B2B728 #28B774 #2C28B7
square
#B7286B #B2B728 #28B774 #2C28B7
split-complementary
#B7286B #28B72C #28B2B7
monochromatic
#531230 #851D4E #B7286B #D6468A #E178A9

Accessibility & contrast

On white

5.95
#B7286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B7286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7286B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7286B#FFFFFF#000000##FFFFFF
##B7286B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#6F6D68
Tritanopia (blue-blind)
#C60E46
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7286b;
/* rgb */ color: rgb(183, 40, 107);
/* oklch */ color: oklch(52.6% 0.186 357.6);
Tailwind
colors: {
  custom: {
    50: '#d27195',
    500: '#b7286b',
    950: '#000000',
  },
}
SCSS
$custom: #b7286b;
$custom-light: #d27195;
$custom-dark: #000000;
JSON
{
  "hex": "#b7286b",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 331.888,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.18566,
    "h": 357.6
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#B7286B
secondary
#72C9A0
accent
#E79941
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B7286B

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

Preview Lab → · Contrast checker → · Palette generator →

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