#B8398E#B8398E

#B8398E is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.185 H 343.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B8398E
RGBrgb(184, 57, 142)
HSLhsl(320, 53%, 47%)
HSVhsv(320, 69%, 72%)
CMYKcmyk(0%, 69%, 22.8%, 27.8%)
CIE-LABlab(45.73, 58.96, -19.40)
CIE-LCHlch(45.73, 62.07, 341.79°)
OKLaboklab(55.66% 0.1775 -0.0518)
OKLCHoklch(55.66% 0.185 343.7)
XYZxyz(26.1137, 15.0722, 27.1199)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8398E #39B863
analogous
#A339B8 #B8398E #B8394E
triadic
#B8398E #8EB839 #398EB8
tetradic
#B8398E #B8A339 #39B863 #394EB8
square
#B8398E #B8A339 #39B863 #394EB8
split-complementary
#B8398E #4EB839 #39B8A3
monochromatic
#5B1C46 #892B6A #B8398E #CE60AA #DC8FC3

Accessibility & contrast

On white

5.23
#B8398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B8398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8398E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8398E#FFFFFF#000000##FFFFFF
##B8398E1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#6C748B
Tritanopia (blue-blind)
#C4395E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8398e;
/* rgb */ color: rgb(184, 57, 142);
/* oklch */ color: oklch(55.7% 0.185 343.7);
Tailwind
colors: {
  custom: {
    50: '#d179af',
    500: '#b8398e',
    950: '#000000',
  },
}
SCSS
$custom: #b8398e;
$custom-light: #d179af;
$custom-dark: #000000;
JSON
{
  "hex": "#b8398e",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 319.843,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.18486,
    "h": 343.7
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#B8398E
secondary
#86C79B
accent
#DC7B4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B8398E

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

Preview Lab → · Contrast checker → · Palette generator →

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