#B9417C#B9417C

#B9417C is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.165 H 353.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B9417C
RGBrgb(185, 65, 124)
HSLhsl(331, 48%, 49%)
HSVhsv(331, 65%, 73%)
CMYKcmyk(0%, 64.9%, 33%, 27.5%)
CIE-LABlab(46.38, 53.75, -7.49)
CIE-LCHlch(46.38, 54.27, 352.07°)
OKLaboklab(55.95% 0.164 -0.0191)
OKLCHoklch(55.95% 0.165 353.3)
XYZxyz(25.5373, 15.5529, 20.7220)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9417C #41B97E
analogous
#B941B8 #B9417C #B94241
triadic
#B9417C #7CB941 #417CB9
tetradic
#B9417C #B8B941 #41B97E #4241B9
square
#B9417C #B8B941 #41B97E #4241B9
split-complementary
#B9417C #41B942 #41B8B9
monochromatic
#5E213F #8C315E #B9417C #CB6C9B #DB99BA

Accessibility & contrast

On white

5.11
#B9417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B9417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9417C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9417C#FFFFFF#000000##FFFFFF
##B9417C1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#C73959
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b9417c;
/* rgb */ color: rgb(185, 65, 124);
/* oklch */ color: oklch(55.9% 0.165 353.3);
Tailwind
colors: {
  custom: {
    50: '#d27da1',
    500: '#b9417c',
    950: '#000000',
  },
}
SCSS
$custom: #b9417c;
$custom-light: #d27da1;
$custom-dark: #000000;
JSON
{
  "hex": "#b9417c",
  "rgb": {
    "r": 185,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 330.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.1651,
    "h": 353.3
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#B9417C
secondary
#8FC7AB
accent
#D89550
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #B9417C

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

Preview Lab → · Contrast checker → · Palette generator →

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