#B8428E#B8428E

#B8428E is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.6% C 0.173 H 344.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B8428E
RGBrgb(184, 66, 142)
HSLhsl(321, 47%, 49%)
HSVhsv(321, 64%, 72%)
CMYKcmyk(0%, 64.1%, 22.8%, 27.8%)
CIE-LABlab(47.03, 55.37, -17.41)
CIE-LCHlch(47.03, 58.04, 342.54°)
OKLaboklab(56.61% 0.1665 -0.0463)
OKLCHoklch(56.61% 0.173 344.5)
XYZxyz(26.5987, 16.0423, 27.2816)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8428E #42B86C
analogous
#A742B8 #B8428E #B84253
triadic
#B8428E #8EB842 #428EB8
tetradic
#B8428E #B8A742 #42B86C #4253B8
square
#B8428E #B8A742 #42B86C #4253B8
split-complementary
#B8428E #53B842 #42B8A7
monochromatic
#5E2248 #8B326B #B8428E #CB6DA9 #DB9AC4

Accessibility & contrast

On white

4.99
#B8428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B8428E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8428E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8428E#FFFFFF#000000##FFFFFF
##B8428E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#C44162
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b8428e;
/* rgb */ color: rgb(184, 66, 142);
/* oklch */ color: oklch(56.6% 0.173 344.5);
Tailwind
colors: {
  custom: {
    50: '#d17eaf',
    500: '#b8428e',
    950: '#000000',
  },
}
SCSS
$custom: #b8428e;
$custom-light: #d17eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#b8428e",
  "rgb": {
    "r": 184,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 321.356,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.1728,
    "h": 344.5
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#B8428E
secondary
#8FC7A3
accent
#D78151
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B8428E

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

Preview Lab → · Contrast checker → · Palette generator →

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