#B9399D#B9399D

#B9399D is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.195 H 337.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B9399D
RGBrgb(185, 57, 157)
HSLhsl(313, 53%, 47%)
HSVhsv(313, 69%, 73%)
CMYKcmyk(0%, 69.2%, 15.1%, 27.5%)
CIE-LABlab(46.55, 61.32, -27.13)
CIE-LCHlch(46.55, 67.06, 336.13°)
OKLaboklab(56.5% 0.181 -0.0735)
OKLCHoklch(56.5% 0.195 337.9)
XYZxyz(27.5570, 15.6774, 33.4665)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9399D #39B955
analogous
#9539B9 #B9399D #B9395D
triadic
#B9399D #9DB939 #399DB9
tetradic
#B9399D #B99539 #39B955 #395DB9
square
#B9399D #B99539 #39B955 #395DB9
split-complementary
#B9399D #5DB939 #39B995
monochromatic
#5B1C4E #8A2B75 #B9399D #CE61B6 #DD90CC

Accessibility & contrast

On white

5.08
#B9399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B9399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9399D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9399D#FFFFFF#000000##FFFFFF
##B9399D1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A0
Deuteranopia (green-blind)
#67759A
Tritanopia (blue-blind)
#C33F66
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b9399d;
/* rgb */ color: rgb(185, 57, 157);
/* oklch */ color: oklch(56.5% 0.195 337.9);
Tailwind
colors: {
  custom: {
    50: '#d27aba',
    500: '#b9399d',
    950: '#000000',
  },
}
SCSS
$custom: #b9399d;
$custom-light: #d27aba;
$custom-dark: #000000;
JSON
{
  "hex": "#b9399d",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 313.125,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.19539,
    "h": 337.9
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#B9399D
secondary
#86C895
accent
#DC6B4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #B9399D

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

Preview Lab → · Contrast checker → · Palette generator →

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