#B8427F#B8427F

#B8427F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.164 H 351.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B8427F
RGBrgb(184, 66, 127)
HSLhsl(329, 47%, 49%)
HSVhsv(329, 64%, 72%)
CMYKcmyk(0%, 64.1%, 31%, 27.8%)
CIE-LABlab(46.47, 53.39, -9.19)
CIE-LCHlch(46.47, 54.18, 350.24°)
OKLaboklab(56.02% 0.1626 -0.0237)
OKLCHoklch(56.02% 0.164 351.7)
XYZxyz(25.5474, 15.6218, 21.7445)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8427F #42B87B
analogous
#B642B8 #B8427F #B84244
triadic
#B8427F #7FB842 #427FB8
tetradic
#B8427F #B8B642 #42B87B #4244B8
square
#B8427F #B8B642 #42B87B #4244B8
split-complementary
#B8427F #44B842 #42B8B6
monochromatic
#5E2241 #8B3260 #B8427F #CB6D9D #DB9ABB

Accessibility & contrast

On white

5.09
#B8427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B8427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8427F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8427F#FFFFFF#000000##FFFFFF
##B8427F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#C53B5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b8427f;
/* rgb */ color: rgb(184, 66, 127);
/* oklch */ color: oklch(56.0% 0.164 351.7);
Tailwind
colors: {
  custom: {
    50: '#d17ea4',
    500: '#b8427f',
    950: '#000000',
  },
}
SCSS
$custom: #b8427f;
$custom-light: #d17ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8427f",
  "rgb": {
    "r": 184,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 328.983,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.1643,
    "h": 351.7
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#B8427F
secondary
#8FC7AA
accent
#D79251
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B8427F

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

Preview Lab → · Contrast checker → · Palette generator →

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