#B12A71#B12A71

#B12A71 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.181 H 353.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B12A71
RGBrgb(177, 42, 113)
HSLhsl(328, 62%, 43%)
HSVhsv(328, 76%, 69%)
CMYKcmyk(0%, 76.3%, 36.2%, 30.6%)
CIE-LABlab(41.53, 58.75, -8.12)
CIE-LCHlch(41.53, 59.31, 352.13°)
OKLaboklab(51.99% 0.1803 -0.0208)
OKLCHoklch(51.99% 0.181 353.4)
XYZxyz(21.9415, 12.1980, 16.8186)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A71 #2AB16A
analogous
#AD2AB1 #B12A71 #B12A2E
triadic
#B12A71 #71B12A #2A71B1
tetradic
#B12A71 #B1AD2A #2AB16A #2A2EB1
square
#B12A71 #B1AD2A #2AB16A #2A2EB1
split-complementary
#B12A71 #2EB12A #2AB1AD
monochromatic
#4E1332 #801E51 #B12A71 #D34590 #DF77AD

Accessibility & contrast

On white

6.11
#B12A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A71
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A71#FFFFFF#000000##FFFFFF
##B12A711.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#6A6B6E
Tritanopia (blue-blind)
#BF1C4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12a71;
/* rgb */ color: rgb(177, 42, 113);
/* oklch */ color: oklch(52.0% 0.181 353.4);
Tailwind
colors: {
  custom: {
    50: '#cd7199',
    500: '#b12a71',
    950: '#000000',
  },
}
SCSS
$custom: #b12a71;
$custom-light: #cd7199;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a71",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 328.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.18149,
    "h": 353.4
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#B12A71
secondary
#70C699
accent
#E59043
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12A71

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

Preview Lab → · Contrast checker → · Palette generator →

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