#B8417C#B8417C

#B8417C is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.164 H 353.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B8417C
RGBrgb(184, 65, 124)
HSLhsl(330, 48%, 49%)
HSVhsv(330, 65%, 72%)
CMYKcmyk(0%, 64.7%, 32.6%, 27.8%)
CIE-LABlab(46.22, 53.45, -7.75)
CIE-LCHlch(46.22, 54.01, 351.75°)
OKLaboklab(55.79% 0.163 -0.0199)
OKLCHoklch(55.79% 0.164 353.1)
XYZxyz(25.2969, 15.4289, 20.7107)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8417C #41B87D
analogous
#B841B8 #B8417C #B84241
triadic
#B8417C #7CB841 #417CB8
tetradic
#B8417C #B8B841 #41B87D #4241B8
square
#B8417C #B8B841 #41B87D #4241B8
split-complementary
#B8417C #41B842 #41B8B8
monochromatic
#5E213F #8B315E #B8417C #CB6B9B #DB99B9

Accessibility & contrast

On white

5.14
#B8417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B8417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8417C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8417C#FFFFFF#000000##FFFFFF
##B8417C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607E
Deuteranopia (green-blind)
#747579
Tritanopia (blue-blind)
#C63959
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b8417c;
/* rgb */ color: rgb(184, 65, 124);
/* oklch */ color: oklch(55.8% 0.164 353.1);
Tailwind
colors: {
  custom: {
    50: '#d17da1',
    500: '#b8417c',
    950: '#000000',
  },
}
SCSS
$custom: #b8417c;
$custom-light: #d17da1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8417c",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 330.252,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.16423,
    "h": 353.1
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#B8417C
secondary
#8EC7AB
accent
#D79450
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #B8417C

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

Preview Lab → · Contrast checker → · Palette generator →

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