#B1398D#B1398D

#B1398D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.179 H 341.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B1398D
RGBrgb(177, 57, 141)
HSLhsl(318, 51%, 46%)
HSVhsv(318, 68%, 69%)
CMYKcmyk(0%, 67.8%, 20.3%, 30.6%)
CIE-LABlab(44.52, 56.94, -20.77)
CIE-LCHlch(44.52, 60.61, 339.96°)
OKLaboklab(54.53% 0.1704 -0.0557)
OKLCHoklch(54.53% 0.179 341.9)
XYZxyz(24.4030, 14.1988, 26.6496)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1398D #39B15D
analogous
#9939B1 #B1398D #B13951
triadic
#B1398D #8DB139 #398DB1
tetradic
#B1398D #B19939 #39B15D #3951B1
square
#B1398D #B19939 #39B15D #3951B1
split-complementary
#B1398D #51B139 #39B199
monochromatic
#541B43 #832A68 #B1398D #CB5DAA #DA8BC2

Accessibility & contrast

On white

5.47
#B1398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B1398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1398D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1398D#FFFFFF#000000##FFFFFF
##B1398D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#BC3A5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b1398d;
/* rgb */ color: rgb(177, 57, 141);
/* oklch */ color: oklch(54.5% 0.179 341.9);
Tailwind
colors: {
  custom: {
    50: '#cc79ae',
    500: '#b1398d',
    950: '#000000',
  },
}
SCSS
$custom: #b1398d;
$custom-light: #cc79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b1398d",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 318,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.17924,
    "h": 341.9
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#B1398D
secondary
#82C496
accent
#DB784D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B1398D

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

Preview Lab → · Contrast checker → · Palette generator →

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