#B1397B#B1397B

#B1397B is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.169 H 350.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B1397B
RGBrgb(177, 57, 123)
HSLhsl(327, 51%, 46%)
HSVhsv(327, 68%, 69%)
CMYKcmyk(0%, 67.8%, 30.5%, 30.6%)
CIE-LABlab(43.81, 54.55, -10.87)
CIE-LCHlch(43.81, 55.63, 348.73°)
OKLaboklab(53.78% 0.1662 -0.0283)
OKLCHoklch(53.78% 0.169 350.3)
XYZxyz(23.1709, 13.7059, 20.1603)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1397B #39B16F
analogous
#AB39B1 #B1397B #B1393F
triadic
#B1397B #7BB139 #397BB1
tetradic
#B1397B #B1AB39 #39B16F #393FB1
square
#B1397B #B1AB39 #39B16F #393FB1
split-complementary
#B1397B #3FB139 #39B1AB
monochromatic
#541B3B #832A5B #B1397B #CB5D99 #DA8BB6

Accessibility & contrast

On white

5.61
#B1397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1397B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1397B#FFFFFF#000000##FFFFFF
##B1397B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7D
Deuteranopia (green-blind)
#6D6F78
Tritanopia (blue-blind)
#BE3355
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b1397b;
/* rgb */ color: rgb(177, 57, 123);
/* oklch */ color: oklch(53.8% 0.169 350.3);
Tailwind
colors: {
  custom: {
    50: '#cc78a1',
    500: '#b1397b',
    950: '#000000',
  },
}
SCSS
$custom: #b1397b;
$custom-light: #cc78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b1397b",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 327,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.16857,
    "h": 350.3
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

primary
#B1397B
secondary
#82C4A0
accent
#DB8D4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1397B

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

Preview Lab → · Contrast checker → · Palette generator →

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