#B7285D#B7285D

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

Color values

HEX#B7285D
RGBrgb(183, 40, 93)
HSLhsl(338, 64%, 44%)
HSVhsv(338, 78%, 72%)
CMYKcmyk(0%, 78.1%, 49.2%, 28.2%)
CIE-LABlab(41.81, 59.04, 4.94)
CIE-LCHlch(41.81, 59.24, 4.79°)
OKLaboklab(52.2% 0.1808 0.0132)
OKLCHoklch(52.2% 0.181 4.2)
XYZxyz(22.2650, 12.3783, 11.5706)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7285D #28B782
analogous
#B728A4 #B7285D #B73A28
triadic
#B7285D #5DB728 #285DB7
tetradic
#B7285D #A4B728 #28B782 #3A28B7
square
#B7285D #A4B728 #28B782 #3A28B7
split-complementary
#B7285D #28B73A #28A4B7
monochromatic
#53122A #851D43 #B7285D #D6467B #E1789F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7285D#FFFFFF#000000##FFFFFF
##B7285D1.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)
#4C515E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C7003F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7285d;
/* rgb */ color: rgb(183, 40, 93);
/* oklch */ color: oklch(52.2% 0.181 4.2);
Tailwind
colors: {
  custom: {
    50: '#d3708a',
    500: '#b7285d',
    950: '#000000',
  },
}
SCSS
$custom: #b7285d;
$custom-light: #d3708a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7285d",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 337.762,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.18126,
    "h": 4.2
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#B7285D
secondary
#72C9A9
accent
#E7A941
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B7285D

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

Preview Lab → · Contrast checker → · Palette generator →

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