#B8398B#B8398B

#B8398B is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.5% C 0.183 H 345.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B8398B
RGBrgb(184, 57, 139)
HSLhsl(321, 53%, 47%)
HSVhsv(321, 69%, 72%)
CMYKcmyk(0%, 69%, 24.5%, 27.8%)
CIE-LABlab(45.61, 58.56, -17.77)
CIE-LCHlch(45.61, 61.19, 343.12°)
OKLaboklab(55.53% 0.1768 -0.0472)
OKLCHoklch(55.53% 0.183 345)
XYZxyz(25.8915, 14.9833, 25.9496)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8398B #39B866
analogous
#A639B8 #B8398B #B8394B
triadic
#B8398B #8BB839 #398BB8
tetradic
#B8398B #B8A639 #39B866 #394BB8
square
#B8398B #B8A639 #39B866 #394BB8
split-complementary
#B8398B #4BB839 #39B8A6
monochromatic
#5B1C44 #892B68 #B8398B #CE60A7 #DC8FC1

Accessibility & contrast

On white

5.25
#B8398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B8398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8398B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8398B#FFFFFF#000000##FFFFFF
##B8398B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#C4375D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8398b;
/* rgb */ color: rgb(184, 57, 139);
/* oklch */ color: oklch(55.5% 0.183 345.0);
Tailwind
colors: {
  custom: {
    50: '#d179ad',
    500: '#b8398b',
    950: '#000000',
  },
}
SCSS
$custom: #b8398b;
$custom-light: #d179ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b8398b",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 321.26,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.18303,
    "h": 345
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#B8398B
secondary
#86C79D
accent
#DC7F4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B8398B

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

Preview Lab → · Contrast checker → · Palette generator →

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