#B1397C#B1397C

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

Color values

HEX#B1397C
RGBrgb(177, 57, 124)
HSLhsl(327, 51%, 46%)
HSVhsv(327, 68%, 69%)
CMYKcmyk(0%, 67.8%, 29.9%, 30.6%)
CIE-LABlab(43.84, 54.68, -11.43)
CIE-LCHlch(43.84, 55.86, 348.19°)
OKLaboklab(53.82% 0.1664 -0.0298)
OKLCHoklch(53.82% 0.169 349.8)
XYZxyz(23.2338, 13.7311, 20.4917)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1397C #39B16E
analogous
#AA39B1 #B1397C #B13940
triadic
#B1397C #7CB139 #397CB1
tetradic
#B1397C #B1AA39 #39B16E #3940B1
square
#B1397C #B1AA39 #39B16E #3940B1
split-complementary
#B1397C #40B139 #39B1AA
monochromatic
#541B3B #832A5C #B1397C #CB5D9A #DA8BB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1397C#FFFFFF#000000##FFFFFF
##B1397C1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1397c;
/* rgb */ color: rgb(177, 57, 124);
/* oklch */ color: oklch(53.8% 0.169 349.8);
Tailwind
colors: {
  custom: {
    50: '#cc78a2',
    500: '#b1397c',
    950: '#000000',
  },
}
SCSS
$custom: #b1397c;
$custom-light: #cc78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1397c",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 326.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.1691,
    "h": 349.8
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#B1397C
secondary
#82C49F
accent
#DB8C4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1397C

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

Preview Lab → · Contrast checker → · Palette generator →

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