#B1398B#B1398B

#B1398B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.178 H 342.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B1398B
RGBrgb(177, 57, 139)
HSLhsl(319, 51%, 46%)
HSVhsv(319, 68%, 69%)
CMYKcmyk(0%, 67.8%, 21.5%, 30.6%)
CIE-LABlab(44.43, 56.66, -19.68)
CIE-LCHlch(44.43, 59.98, 340.84°)
OKLaboklab(54.44% 0.17 -0.0526)
OKLCHoklch(54.44% 0.178 342.8)
XYZxyz(24.2556, 14.1398, 25.8729)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1398B #39B15F
analogous
#9B39B1 #B1398B #B1394F
triadic
#B1398B #8BB139 #398BB1
tetradic
#B1398B #B19B39 #39B15F #394FB1
square
#B1398B #B19B39 #39B15F #394FB1
split-complementary
#B1398B #4FB139 #39B19B
monochromatic
#541B42 #832A67 #B1398B #CB5DA8 #DA8BC1

Accessibility & contrast

On white

5.49
#B1398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B1398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1398B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1398B#FFFFFF#000000##FFFFFF
##B1398B1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8D
Deuteranopia (green-blind)
#687088
Tritanopia (blue-blind)
#BC3A5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b1398b;
/* rgb */ color: rgb(177, 57, 139);
/* oklch */ color: oklch(54.4% 0.178 342.8);
Tailwind
colors: {
  custom: {
    50: '#cc78ad',
    500: '#b1398b',
    950: '#000000',
  },
}
SCSS
$custom: #b1398b;
$custom-light: #cc78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b1398b",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 319,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.17794,
    "h": 342.8
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#B1398B
secondary
#82C497
accent
#DB7A4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B1398B

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

Preview Lab → · Contrast checker → · Palette generator →

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