#B4285B#B4285B

#B4285B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.178 H 4.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B4285B
RGBrgb(180, 40, 91)
HSLhsl(338, 64%, 43%)
HSVhsv(338, 78%, 71%)
CMYKcmyk(0%, 77.8%, 49.4%, 29.4%)
CIE-LABlab(41.18, 58.04, 5.23)
CIE-LCHlch(41.18, 58.27, 5.15°)
OKLaboklab(51.61% 0.1776 0.0139)
OKLCHoklch(51.61% 0.178 4.5)
XYZxyz(21.4714, 11.9792, 11.0771)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4285B #28B481
analogous
#B428A1 #B4285B #B43B28
triadic
#B4285B #5BB428 #285BB4
tetradic
#B4285B #A1B428 #28B481 #3B28B4
square
#B4285B #A1B428 #28B481 #3B28B4
split-complementary
#B4285B #28B43B #28A1B4
monochromatic
#501228 #821D42 #B4285B #D54479 #E1769D

Accessibility & contrast

On white

6.19
#B4285B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B4285B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4285B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4285B#FFFFFF#000000##FFFFFF
##B4285B1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#C4003E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4285b;
/* rgb */ color: rgb(180, 40, 91);
/* oklch */ color: oklch(51.6% 0.178 4.5);
Tailwind
colors: {
  custom: {
    50: '#d07089',
    500: '#b4285b',
    950: '#000000',
  },
}
SCSS
$custom: #b4285b;
$custom-light: #d07089;
$custom-dark: #000000;
JSON
{
  "hex": "#b4285b",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 338.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.17818,
    "h": 4.5
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#B4285B
secondary
#70C8A8
accent
#E7AA41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B4285B

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

Preview Lab → · Contrast checker → · Palette generator →

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