#B8399E#B8399E

#B8399E is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.195 H 337.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B8399E
RGBrgb(184, 57, 158)
HSLhsl(312, 53%, 47%)
HSVhsv(312, 69%, 72%)
CMYKcmyk(0%, 69%, 14.1%, 27.8%)
CIE-LABlab(46.43, 61.22, -27.93)
CIE-LCHlch(46.43, 67.29, 335.48°)
OKLaboklab(56.39% 0.1802 -0.0758)
OKLCHoklch(56.39% 0.195 337.2)
XYZxyz(27.4023, 15.5877, 33.9067)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8399E #39B853
analogous
#9239B8 #B8399E #B8395F
triadic
#B8399E #9EB839 #399EB8
tetradic
#B8399E #B89239 #39B853 #395FB8
square
#B8399E #B89239 #39B853 #395FB8
split-complementary
#B8399E #5FB839 #39B892
monochromatic
#5B1C4E #892B76 #B8399E #CE60B7 #DC8FCD

Accessibility & contrast

On white

5.10
#B8399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8399E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8399E#FFFFFF#000000##FFFFFF
##B8399E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#66759B
Tritanopia (blue-blind)
#C24067
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b8399e;
/* rgb */ color: rgb(184, 57, 158);
/* oklch */ color: oklch(56.4% 0.195 337.2);
Tailwind
colors: {
  custom: {
    50: '#d17abb',
    500: '#b8399e',
    950: '#000000',
  },
}
SCSS
$custom: #b8399e;
$custom-light: #d17abb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8399e",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 312.283,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.19546,
    "h": 337.2
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#B8399E
secondary
#86C793
accent
#DC694C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B8399E

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

Preview Lab → · Contrast checker → · Palette generator →

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