#B7399E#B7399E

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

Color values

HEX#B7399E
RGBrgb(183, 57, 158)
HSLhsl(312, 53%, 47%)
HSVhsv(312, 69%, 72%)
CMYKcmyk(0%, 68.9%, 13.7%, 28.2%)
CIE-LABlab(46.26, 60.97, -28.20)
CIE-LCHlch(46.26, 67.17, 335.18°)
OKLaboklab(56.24% 0.1791 -0.0766)
OKLCHoklch(56.24% 0.195 336.8)
XYZxyz(27.1636, 15.4646, 33.8955)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7399E #39B752
analogous
#9139B7 #B7399E #B7395F
triadic
#B7399E #9EB739 #399EB7
tetradic
#B7399E #B79139 #39B752 #395FB7
square
#B7399E #B79139 #39B752 #395FB7
split-complementary
#B7399E #5FB739 #39B791
monochromatic
#5A1C4D #882A76 #B7399E #CD60B8 #DC8ECD

Accessibility & contrast

On white

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

On black

4.09
#B7399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B7399E#FFFFFF#000000##FFFFFF
##B7399E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C61A1
Deuteranopia (green-blind)
#65759B
Tritanopia (blue-blind)
#C14067
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b7399e;
/* rgb */ color: rgb(183, 57, 158);
/* oklch */ color: oklch(56.2% 0.195 336.8);
Tailwind
colors: {
  custom: {
    50: '#d07abb',
    500: '#b7399e',
    950: '#000000',
  },
}
SCSS
$custom: #b7399e;
$custom-light: #d07abb;
$custom-dark: #000000;
JSON
{
  "hex": "#b7399e",
  "rgb": {
    "r": 183,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 311.905,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.19484,
    "h": 336.8
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#B7399E
secondary
#85C792
accent
#DC684C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B7399E

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

Preview Lab → · Contrast checker → · Palette generator →

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