#B8398F#B8398F

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

Color values

HEX#B8398F
RGBrgb(184, 57, 143)
HSLhsl(319, 53%, 47%)
HSVhsv(319, 69%, 72%)
CMYKcmyk(0%, 69%, 22.3%, 27.8%)
CIE-LABlab(45.77, 59.09, -19.94)
CIE-LCHlch(45.77, 62.37, 341.35°)
OKLaboklab(55.7% 0.1777 -0.0533)
OKLCHoklch(55.7% 0.185 343.3)
XYZxyz(26.1891, 15.1024, 27.5171)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8398F #39B862
analogous
#A239B8 #B8398F #B83950
triadic
#B8398F #8FB839 #398FB8
tetradic
#B8398F #B8A239 #39B862 #3950B8
square
#B8398F #B8A239 #39B862 #3950B8
split-complementary
#B8398F #50B839 #39B8A2
monochromatic
#5B1C46 #892B6B #B8398F #CE60AB #DC8FC3

Accessibility & contrast

On white

5.22
#B8398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B8398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8398F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8398F#FFFFFF#000000##FFFFFF
##B8398F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#6C748C
Tritanopia (blue-blind)
#C4395F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8398f;
/* rgb */ color: rgb(184, 57, 143);
/* oklch */ color: oklch(55.7% 0.185 343.3);
Tailwind
colors: {
  custom: {
    50: '#d179b0',
    500: '#b8398f',
    950: '#000000',
  },
}
SCSS
$custom: #b8398f;
$custom-light: #d179b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b8398f",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 319.37,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.18548,
    "h": 343.3
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8398F

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

Preview Lab → · Contrast checker → · Palette generator →

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