#B8398A#B8398A

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

Color values

HEX#B8398A
RGBrgb(184, 57, 138)
HSLhsl(322, 53%, 47%)
HSVhsv(322, 69%, 72%)
CMYKcmyk(0%, 69%, 25%, 27.8%)
CIE-LABlab(45.57, 58.43, -17.23)
CIE-LCHlch(45.57, 60.91, 343.57°)
OKLaboklab(55.49% 0.1766 -0.0457)
OKLCHoklch(55.49% 0.182 345.5)
XYZxyz(25.8188, 14.9542, 25.5666)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8398A #39B867
analogous
#A639B8 #B8398A #B8394B
triadic
#B8398A #8AB839 #398AB8
tetradic
#B8398A #B8A639 #39B867 #394BB8
square
#B8398A #B8A639 #39B867 #394BB8
split-complementary
#B8398A #4BB839 #39B8A6
monochromatic
#5B1C44 #892B67 #B8398A #CE60A6 #DC8FC0

Accessibility & contrast

On white

5.26
#B8398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B8398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8398A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8398A#FFFFFF#000000##FFFFFF
##B8398A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#C4375C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8398a;
/* rgb */ color: rgb(184, 57, 138);
/* oklch */ color: oklch(55.5% 0.182 345.5);
Tailwind
colors: {
  custom: {
    50: '#d179ac',
    500: '#b8398a',
    950: '#000000',
  },
}
SCSS
$custom: #b8398a;
$custom-light: #d179ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b8398a",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 321.732,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.18243,
    "h": 345.5
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8398A

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

Preview Lab → · Contrast checker → · Palette generator →

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