#B95178#B95178

#B95178 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.8% C 0.140 H 358.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B95178
RGBrgb(185, 81, 120)
HSLhsl(338, 43%, 52%)
HSVhsv(338, 56%, 73%)
CMYKcmyk(0%, 56.2%, 35.1%, 27.5%)
CIE-LABlab(48.96, 46.01, -1.25)
CIE-LCHlch(48.96, 46.03, 358.44°)
OKLaboklab(57.82% 0.1401 -0.0027)
OKLCHoklch(57.82% 0.14 358.9)
XYZxyz(26.3415, 17.5579, 19.7674)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95178 #51B992
analogous
#B951AC #B95178 #B95E51
triadic
#B95178 #78B951 #5178B9
tetradic
#B95178 #ACB951 #51B992 #5E51B9
square
#B95178 #ACB951 #51B992 #5E51B9
split-complementary
#B95178 #51B95E #51ACB9
monochromatic
#662940 #923B5B #B95178 #CB7D9A #DCA8BC

Accessibility & contrast

On white

4.66
#B95178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B95178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B95178
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95178#FFFFFF#000000##FFFFFF
##B951781.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#7D7C76
Tritanopia (blue-blind)
#C74960
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b95178;
/* rgb */ color: rgb(185, 81, 120);
/* oklch */ color: oklch(57.8% 0.140 358.9);
Tailwind
colors: {
  custom: {
    50: '#d1869e',
    500: '#b95178',
    950: '#000000',
  },
}
SCSS
$custom: #b95178;
$custom-light: #d1869e;
$custom-dark: #000000;
JSON
{
  "hex": "#b95178",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 337.5,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.14013,
    "h": 358.9
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#B95178
secondary
#9CCAB9
accent
#D2A455
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B95178

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

Preview Lab → · Contrast checker → · Palette generator →

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