#B4285F#B4285F

#B4285F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.179 H 2.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B4285F
RGBrgb(180, 40, 95)
HSLhsl(336, 64%, 43%)
HSVhsv(336, 78%, 71%)
CMYKcmyk(0%, 77.8%, 47.2%, 29.4%)
CIE-LABlab(41.30, 58.39, 2.87)
CIE-LCHlch(41.30, 58.46, 2.81°)
OKLaboklab(51.73% 0.1791 0.008)
OKLCHoklch(51.73% 0.179 2.6)
XYZxyz(21.6485, 12.0500, 12.0102)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4285F #28B47D
analogous
#B428A5 #B4285F #B43728
triadic
#B4285F #5FB428 #285FB4
tetradic
#B4285F #A5B428 #28B47D #3728B4
square
#B4285F #A5B428 #28B47D #3728B4
split-complementary
#B4285F #28B437 #28A5B4
monochromatic
#50122A #821D45 #B4285F #D5447D #E176A0

Accessibility & contrast

On white

6.16
#B4285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B4285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4285F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4285F#FFFFFF#000000##FFFFFF
##B4285F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C40340
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4285f;
/* rgb */ color: rgb(180, 40, 95);
/* oklch */ color: oklch(51.7% 0.179 2.6);
Tailwind
colors: {
  custom: {
    50: '#d0708c',
    500: '#b4285f',
    950: '#000000',
  },
}
SCSS
$custom: #b4285f;
$custom-light: #d0708c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4285f",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 336.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.17925,
    "h": 2.6
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#B4285F
secondary
#70C8A5
accent
#E7A641
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B4285F

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

Preview Lab → · Contrast checker → · Palette generator →

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