#B1327F#B1327F

#B1327F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.180 H 347.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B1327F
RGBrgb(177, 50, 127)
HSLhsl(324, 56%, 45%)
HSVhsv(324, 72%, 69%)
CMYKcmyk(0%, 71.8%, 28.2%, 30.6%)
CIE-LABlab(43.01, 57.70, -14.54)
CIE-LCHlch(43.01, 59.51, 345.85°)
OKLaboklab(53.24% 0.1754 -0.0383)
OKLCHoklch(53.24% 0.18 347.7)
XYZxyz(23.1039, 13.1631, 21.3986)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1327F #32B164
analogous
#A432B1 #B1327F #B13240
triadic
#B1327F #7FB132 #327FB1
tetradic
#B1327F #B1A432 #32B164 #3240B1
square
#B1327F #B1A432 #32B164 #3240B1
split-complementary
#B1327F #40B132 #32B1A4
monochromatic
#52173B #81255D #B1327F #CE529D #DC82B8

Accessibility & contrast

On white

5.78
#B1327F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B1327F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1327F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1327F#FFFFFF#000000##FFFFFF
##B1327F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#BD2D54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1327f;
/* rgb */ color: rgb(177, 50, 127);
/* oklch */ color: oklch(53.2% 0.180 347.7);
Tailwind
colors: {
  custom: {
    50: '#cc75a4',
    500: '#b1327f',
    950: '#000000',
  },
}
SCSS
$custom: #b1327f;
$custom-light: #cc75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1327f",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 323.622,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.17957,
    "h": 347.7
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#B1327F
secondary
#7AC597
accent
#DF8449
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1327F

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

Preview Lab → · Contrast checker → · Palette generator →

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