#B1397D#B1397D

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

Color values

HEX#B1397D
RGBrgb(177, 57, 125)
HSLhsl(326, 51%, 46%)
HSVhsv(326, 68%, 69%)
CMYKcmyk(0%, 67.8%, 29.4%, 30.6%)
CIE-LABlab(43.88, 54.80, -11.99)
CIE-LCHlch(43.88, 56.10, 347.66°)
OKLaboklab(53.86% 0.1667 -0.0314)
OKLCHoklch(53.86% 0.17 349.4)
XYZxyz(23.2974, 13.7565, 20.8264)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1397D #39B16D
analogous
#A939B1 #B1397D #B13941
triadic
#B1397D #7DB139 #397DB1
tetradic
#B1397D #B1A939 #39B16D #3941B1
square
#B1397D #B1A939 #39B16D #3941B1
split-complementary
#B1397D #41B139 #39B1A9
monochromatic
#541B3C #832A5C #B1397D #CB5D9B #DA8BB7

Accessibility & contrast

On white

5.60
#B1397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B1397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1397D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1397D#FFFFFF#000000##FFFFFF
##B1397D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7F
Deuteranopia (green-blind)
#6C6F7A
Tritanopia (blue-blind)
#BE3456
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b1397d;
/* rgb */ color: rgb(177, 57, 125);
/* oklch */ color: oklch(53.9% 0.170 349.4);
Tailwind
colors: {
  custom: {
    50: '#cc78a2',
    500: '#b1397d',
    950: '#000000',
  },
}
SCSS
$custom: #b1397d;
$custom-light: #cc78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1397d",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 326,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.16964,
    "h": 349.4
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1397D

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

Preview Lab → · Contrast checker → · Palette generator →

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