#B1397A#B1397A

#B1397A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.7% C 0.168 H 350.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B1397A
RGBrgb(177, 57, 122)
HSLhsl(328, 51%, 46%)
HSVhsv(328, 68%, 69%)
CMYKcmyk(0%, 67.8%, 31.1%, 30.6%)
CIE-LABlab(43.77, 54.43, -10.32)
CIE-LCHlch(43.77, 55.40, 349.27°)
OKLaboklab(53.74% 0.1659 -0.0268)
OKLCHoklch(53.74% 0.168 350.8)
XYZxyz(23.1086, 13.6810, 19.8323)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1397A #39B170
analogous
#AC39B1 #B1397A #B1393E
triadic
#B1397A #7AB139 #397AB1
tetradic
#B1397A #B1AC39 #39B170 #393EB1
square
#B1397A #B1AC39 #39B170 #393EB1
split-complementary
#B1397A #3EB139 #39B1AC
monochromatic
#541B3A #832A5A #B1397A #CB5D98 #DA8BB5

Accessibility & contrast

On white

5.62
#B1397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B1397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1397A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1397A#FFFFFF#000000##FFFFFF
##B1397A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7C
Deuteranopia (green-blind)
#6D6F77
Tritanopia (blue-blind)
#BE3254
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1397a;
/* rgb */ color: rgb(177, 57, 122);
/* oklch */ color: oklch(53.7% 0.168 350.8);
Tailwind
colors: {
  custom: {
    50: '#cc78a0',
    500: '#b1397a',
    950: '#000000',
  },
}
SCSS
$custom: #b1397a;
$custom-light: #cc78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b1397a",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 327.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.16806,
    "h": 350.8
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#B1397A
secondary
#82C4A0
accent
#DB8E4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B1397A

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

Preview Lab → · Contrast checker → · Palette generator →

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