#B1397E#B1397E

#B1397E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.170 H 348.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B1397E
RGBrgb(177, 57, 126)
HSLhsl(326, 51%, 46%)
HSVhsv(326, 68%, 69%)
CMYKcmyk(0%, 67.8%, 28.8%, 30.6%)
CIE-LABlab(43.92, 54.93, -12.55)
CIE-LCHlch(43.92, 56.35, 347.13°)
OKLaboklab(53.9% 0.167 -0.0329)
OKLCHoklch(53.9% 0.17 348.9)
XYZxyz(23.3616, 13.7822, 21.1646)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1397E #39B16C
analogous
#A839B1 #B1397E #B13942
triadic
#B1397E #7EB139 #397EB1
tetradic
#B1397E #B1A839 #39B16C #3942B1
square
#B1397E #B1A839 #39B16C #3942B1
split-complementary
#B1397E #42B139 #39B1A8
monochromatic
#541B3C #832A5D #B1397E #CB5D9C #DA8BB8

Accessibility & contrast

On white

5.59
#B1397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B1397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1397E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1397E#FFFFFF#000000##FFFFFF
##B1397E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#BD3456
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b1397e;
/* rgb */ color: rgb(177, 57, 126);
/* oklch */ color: oklch(53.9% 0.170 348.9);
Tailwind
colors: {
  custom: {
    50: '#cc78a3',
    500: '#b1397e',
    950: '#000000',
  },
}
SCSS
$custom: #b1397e;
$custom-light: #cc78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1397e",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 325.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.17018,
    "h": 348.9
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#B1397E
secondary
#82C49E
accent
#DB894D
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1397E

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

Preview Lab → · Contrast checker → · Palette generator →

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