#B8399B#B8399B

#B8399B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.193 H 338.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B8399B
RGBrgb(184, 57, 155)
HSLhsl(314, 53%, 47%)
HSVhsv(314, 69%, 72%)
CMYKcmyk(0%, 69%, 15.8%, 27.8%)
CIE-LABlab(46.29, 60.78, -26.35)
CIE-LCHlch(46.29, 66.24, 336.56°)
OKLaboklab(56.25% 0.1797 -0.0713)
OKLCHoklch(56.25% 0.193 338.4)
XYZxyz(27.1472, 15.4856, 32.5633)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8399B #39B856
analogous
#9639B8 #B8399B #B8395B
triadic
#B8399B #9BB839 #399BB8
tetradic
#B8399B #B89639 #39B856 #395BB8
square
#B8399B #B89639 #39B856 #395BB8
split-complementary
#B8399B #5BB839 #39B896
monochromatic
#5B1C4C #892B74 #B8399B #CE60B5 #DC8FCB

Accessibility & contrast

On white

5.13
#B8399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B8399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8399B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8399B#FFFFFF#000000##FFFFFF
##B8399B1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#677598
Tritanopia (blue-blind)
#C23E65
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b8399b;
/* rgb */ color: rgb(184, 57, 155);
/* oklch */ color: oklch(56.2% 0.193 338.4);
Tailwind
colors: {
  custom: {
    50: '#d17ab8',
    500: '#b8399b',
    950: '#000000',
  },
}
SCSS
$custom: #b8399b;
$custom-light: #d17ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8399b",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 313.701,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.19337,
    "h": 338.4
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#B8399B
secondary
#86C795
accent
#DC6D4C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B8399B

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

Preview Lab → · Contrast checker → · Palette generator →

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