#B12371#B12371

#B12371 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.188 H 352.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B12371
RGBrgb(177, 35, 113)
HSLhsl(327, 67%, 42%)
HSVhsv(327, 80%, 69%)
CMYKcmyk(0%, 80.2%, 36.2%, 30.6%)
CIE-LABlab(40.81, 60.81, -9.21)
CIE-LCHlch(40.81, 61.50, 351.39°)
OKLaboklab(51.46% 0.1868 -0.0236)
OKLCHoklch(51.46% 0.188 352.8)
XYZxyz(21.7145, 11.7441, 16.7429)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12371 #23B163
analogous
#AA23B1 #B12371 #B1232A
triadic
#B12371 #71B123 #2371B1
tetradic
#B12371 #B1AA23 #23B163 #232AB1
square
#B12371 #B1AA23 #23B163 #232AB1
split-complementary
#B12371 #2AB123 #23B1AA
monochromatic
#4B0F30 #7E1950 #B12371 #D83990 #E26CAD

Accessibility & contrast

On white

6.27
#B12371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B12371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12371
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12371#FFFFFF#000000##FFFFFF
##B123711.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#BF1147
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12371;
/* rgb */ color: rgb(177, 35, 113);
/* oklch */ color: oklch(51.5% 0.188 352.8);
Tailwind
colors: {
  custom: {
    50: '#cd6e99',
    500: '#b12371',
    950: '#000000',
  },
}
SCSS
$custom: #b12371;
$custom-light: #cd6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#b12371",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 327.042,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.18831,
    "h": 352.8
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#B12371
secondary
#68C893
accent
#EA8B3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12371

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

Preview Lab → · Contrast checker → · Palette generator →

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