#B8398D#B8398D

#B8398D is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.184 H 344.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B8398D
RGBrgb(184, 57, 141)
HSLhsl(320, 53%, 47%)
HSVhsv(320, 69%, 72%)
CMYKcmyk(0%, 69%, 23.4%, 27.8%)
CIE-LABlab(45.69, 58.82, -18.86)
CIE-LCHlch(45.69, 61.77, 342.22°)
OKLaboklab(55.61% 0.1773 -0.0503)
OKLCHoklch(55.61% 0.184 344.2)
XYZxyz(26.0390, 15.0423, 26.7263)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8398D #39B864
analogous
#A439B8 #B8398D #B8394E
triadic
#B8398D #8DB839 #398DB8
tetradic
#B8398D #B8A439 #39B864 #394EB8
square
#B8398D #B8A439 #39B864 #394EB8
split-complementary
#B8398D #4EB839 #39B8A4
monochromatic
#5B1C45 #892B69 #B8398D #CE60A9 #DC8FC2

Accessibility & contrast

On white

5.24
#B8398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8398D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8398D#FFFFFF#000000##FFFFFF
##B8398D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F8F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#C4385E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8398d;
/* rgb */ color: rgb(184, 57, 141);
/* oklch */ color: oklch(55.6% 0.184 344.2);
Tailwind
colors: {
  custom: {
    50: '#d179ae',
    500: '#b8398d',
    950: '#000000',
  },
}
SCSS
$custom: #b8398d;
$custom-light: #d179ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b8398d",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 320.315,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.18424,
    "h": 344.2
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#B8398D
secondary
#86C79C
accent
#DC7D4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B8398D

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

Preview Lab → · Contrast checker → · Palette generator →

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