#B13271#B13271

#B13271 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.173 H 354.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B13271
RGBrgb(177, 50, 113)
HSLhsl(330, 56%, 45%)
HSVhsv(330, 72%, 69%)
CMYKcmyk(0%, 71.8%, 36.2%, 30.6%)
CIE-LABlab(42.50, 56.04, -6.68)
CIE-LCHlch(42.50, 56.43, 353.21°)
OKLaboklab(52.7% 0.1717 -0.0169)
OKLCHoklch(52.7% 0.173 354.4)
XYZxyz(22.2541, 12.8232, 16.9228)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13271 #32B172
analogous
#B132B1 #B13271 #B13232
triadic
#B13271 #71B132 #3271B1
tetradic
#B13271 #B1B132 #32B172 #3232B1
square
#B13271 #B1B132 #32B172 #3232B1
split-complementary
#B13271 #32B132 #32B1B1
monochromatic
#521734 #812553 #B13271 #CE5290 #DC82AE

Accessibility & contrast

On white

5.89
#B13271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B13271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13271
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13271#FFFFFF#000000##FFFFFF
##B132711.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495573
Deuteranopia (green-blind)
#6C6D6E
Tritanopia (blue-blind)
#BF264D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b13271;
/* rgb */ color: rgb(177, 50, 113);
/* oklch */ color: oklch(52.7% 0.173 354.4);
Tailwind
colors: {
  custom: {
    50: '#cd7499',
    500: '#b13271',
    950: '#000000',
  },
}
SCSS
$custom: #b13271;
$custom-light: #cd7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b13271",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 330.236,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.17254,
    "h": 354.4
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#B13271
secondary
#7AC5A0
accent
#DF9449
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B13271

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

Preview Lab → · Contrast checker → · Palette generator →

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