#B7285F#B7285F

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

Color values

HEX#B7285F
RGBrgb(183, 40, 95)
HSLhsl(337, 64%, 44%)
HSVhsv(337, 78%, 72%)
CMYKcmyk(0%, 78.1%, 48.1%, 28.2%)
CIE-LABlab(41.87, 59.21, 3.77)
CIE-LCHlch(41.87, 59.33, 3.64°)
OKLaboklab(52.26% 0.1815 0.0103)
OKLCHoklch(52.26% 0.182 3.2)
XYZxyz(22.3547, 12.4142, 12.0433)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7285F #28B780
analogous
#B728A6 #B7285F #B73828
triadic
#B7285F #5FB728 #285FB7
tetradic
#B7285F #A6B728 #28B780 #3828B7
square
#B7285F #A6B728 #28B780 #3828B7
split-complementary
#B7285F #28B738 #28A6B7
monochromatic
#53122B #851D45 #B7285F #D6467D #E178A1

Accessibility & contrast

On white

6.03
#B7285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B7285F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7285F#FFFFFF#000000##FFFFFF
##B7285F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7285f;
/* rgb */ color: rgb(183, 40, 95);
/* oklch */ color: oklch(52.3% 0.182 3.2);
Tailwind
colors: {
  custom: {
    50: '#d3708c',
    500: '#b7285f',
    950: '#000000',
  },
}
SCSS
$custom: #b7285f;
$custom-light: #d3708c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7285f",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 336.923,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.18178,
    "h": 3.2
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7285F

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

Preview Lab → · Contrast checker → · Palette generator →

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