#B1397F#B1397F

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

Color values

HEX#B1397F
RGBrgb(177, 57, 127)
HSLhsl(325, 51%, 46%)
HSVhsv(325, 68%, 69%)
CMYKcmyk(0%, 67.8%, 28.2%, 30.6%)
CIE-LABlab(43.96, 55.06, -13.10)
CIE-LCHlch(43.96, 56.59, 346.62°)
OKLaboklab(53.94% 0.1672 -0.0344)
OKLCHoklch(53.94% 0.171 348.4)
XYZxyz(23.4264, 13.8082, 21.5061)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1397F #39B16B
analogous
#A739B1 #B1397F #B13943
triadic
#B1397F #7FB139 #397FB1
tetradic
#B1397F #B1A739 #39B16B #3943B1
square
#B1397F #B1A739 #39B16B #3943B1
split-complementary
#B1397F #43B139 #39B1A7
monochromatic
#541B3D #832A5E #B1397F #CB5D9D #DA8BB9

Accessibility & contrast

On white

5.58
#B1397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1397F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1397F#FFFFFF#000000##FFFFFF
##B1397F1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#6B707C
Tritanopia (blue-blind)
#BD3457
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b1397f;
/* rgb */ color: rgb(177, 57, 127);
/* oklch */ color: oklch(53.9% 0.171 348.4);
Tailwind
colors: {
  custom: {
    50: '#cc78a4',
    500: '#b1397f',
    950: '#000000',
  },
}
SCSS
$custom: #b1397f;
$custom-light: #cc78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1397f",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 325,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.17074,
    "h": 348.4
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#B1397F
secondary
#82C49D
accent
#DB884D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1397F

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

Preview Lab → · Contrast checker → · Palette generator →

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