#B7286C#B7286C

#B7286C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.186 H 357.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B7286C
RGBrgb(183, 40, 108)
HSLhsl(331, 64%, 44%)
HSVhsv(331, 78%, 72%)
CMYKcmyk(0%, 78.1%, 41%, 28.2%)
CIE-LABlab(42.26, 60.43, -3.79)
CIE-LCHlch(42.26, 60.55, 356.41°)
OKLaboklab(52.68% 0.1858 -0.0092)
OKLCHoklch(52.68% 0.186 357.2)
XYZxyz(22.9957, 12.6705, 15.4192)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7286C #28B773
analogous
#B728B3 #B7286C #B72C28
triadic
#B7286C #6CB728 #286CB7
tetradic
#B7286C #B3B728 #28B773 #2C28B7
square
#B7286C #B3B728 #28B773 #2C28B7
split-complementary
#B7286C #28B72C #28B3B7
monochromatic
#531231 #851D4E #B7286C #D6468B #E178AA

Accessibility & contrast

On white

5.94
#B7286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B7286C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7286C#FFFFFF#000000##FFFFFF
##B7286C1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536E
Deuteranopia (green-blind)
#6F6D69
Tritanopia (blue-blind)
#C60F47
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7286c;
/* rgb */ color: rgb(183, 40, 108);
/* oklch */ color: oklch(52.7% 0.186 357.2);
Tailwind
colors: {
  custom: {
    50: '#d27196',
    500: '#b7286c',
    950: '#000000',
  },
}
SCSS
$custom: #b7286c;
$custom-light: #d27196;
$custom-dark: #000000;
JSON
{
  "hex": "#b7286c",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 331.469,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.18604,
    "h": 357.2
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7286C

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

Preview Lab → · Contrast checker → · Palette generator →

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