#B7285E#B7285E

#B7285E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.182 H 3.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B7285E
RGBrgb(183, 40, 94)
HSLhsl(337, 64%, 44%)
HSVhsv(337, 78%, 72%)
CMYKcmyk(0%, 78.1%, 48.6%, 28.2%)
CIE-LABlab(41.84, 59.12, 4.35)
CIE-LCHlch(41.84, 59.28, 4.21°)
OKLaboklab(52.23% 0.1811 0.0117)
OKLCHoklch(52.23% 0.182 3.7)
XYZxyz(22.3095, 12.3961, 11.8054)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7285E #28B781
analogous
#B728A5 #B7285E #B73928
triadic
#B7285E #5EB728 #285EB7
tetradic
#B7285E #A5B728 #28B781 #3928B7
square
#B7285E #A5B728 #28B781 #3928B7
split-complementary
#B7285E #28B739 #28A5B7
monochromatic
#53122A #851D44 #B7285E #D6467C #E178A0

Accessibility & contrast

On white

6.04
#B7285E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B7285E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7285E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7285E#FFFFFF#000000##FFFFFF
##B7285E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#716D5B
Tritanopia (blue-blind)
#C70040
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7285e;
/* rgb */ color: rgb(183, 40, 94);
/* oklch */ color: oklch(52.2% 0.182 3.7);
Tailwind
colors: {
  custom: {
    50: '#d3708b',
    500: '#b7285e',
    950: '#000000',
  },
}
SCSS
$custom: #b7285e;
$custom-light: #d3708b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7285e",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 337.343,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.18151,
    "h": 3.7
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#B7285E
secondary
#72C9A8
accent
#E7A841
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B7285E

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

Preview Lab → · Contrast checker → · Palette generator →

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