#B6398F#B6398F

#B6398F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.184 H 342.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B6398F
RGBrgb(182, 57, 143)
HSLhsl(319, 52%, 47%)
HSVhsv(319, 69%, 71%)
CMYKcmyk(0%, 68.7%, 21.4%, 28.6%)
CIE-LABlab(45.44, 58.56, -20.49)
CIE-LCHlch(45.44, 62.04, 340.72°)
OKLaboklab(55.39% 0.1757 -0.0548)
OKLCHoklch(55.39% 0.184 342.7)
XYZxyz(25.7133, 14.8570, 27.4948)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6398F #39B660
analogous
#9F39B6 #B6398F #B63951
triadic
#B6398F #8FB639 #398FB6
tetradic
#B6398F #B69F39 #39B660 #3951B6
square
#B6398F #B69F39 #39B660 #3951B6
split-complementary
#B6398F #51B639 #39B69F
monochromatic
#591C46 #872A6A #B6398F #CD5FAB #DC8EC3

Accessibility & contrast

On white

5.29
#B6398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B6398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6398F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6398F#FFFFFF#000000##FFFFFF
##B6398F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#C13A5F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b6398f;
/* rgb */ color: rgb(182, 57, 143);
/* oklch */ color: oklch(55.4% 0.184 342.7);
Tailwind
colors: {
  custom: {
    50: '#d079b0',
    500: '#b6398f',
    950: '#000000',
  },
}
SCSS
$custom: #b6398f;
$custom-light: #d079b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b6398f",
  "rgb": {
    "r": 182,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 318.72,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.18406,
    "h": 342.7
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#B6398F
secondary
#85C699
accent
#DC794C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B6398F

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

Preview Lab → · Contrast checker → · Palette generator →

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