#B12A83#B12A83

#B12A83 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.191 H 345.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B12A83
RGBrgb(177, 42, 131)
HSLhsl(320, 62%, 43%)
HSVhsv(320, 76%, 69%)
CMYKcmyk(0%, 76.3%, 26%, 30.6%)
CIE-LABlab(42.22, 60.88, -18.20)
CIE-LCHlch(42.22, 63.54, 343.36°)
OKLaboklab(52.72% 0.1846 -0.0484)
OKLCHoklch(52.72% 0.191 345.3)
XYZxyz(23.0572, 12.6443, 22.6947)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A83 #2AB158
analogous
#9B2AB1 #B12A83 #B12A40
triadic
#B12A83 #83B12A #2A83B1
tetradic
#B12A83 #B19B2A #2AB158 #2A40B1
square
#B12A83 #B19B2A #2AB158 #2A40B1
split-complementary
#B12A83 #40B12A #2AB19B
monochromatic
#4E133A #801E5E #B12A83 #D345A3 #DF77BB

Accessibility & contrast

On white

5.95
#B12A83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B12A83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A83
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A83#FFFFFF#000000##FFFFFF
##B12A831.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5585
Deuteranopia (green-blind)
#656C80
Tritanopia (blue-blind)
#BD2753
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12a83;
/* rgb */ color: rgb(177, 42, 131);
/* oklch */ color: oklch(52.7% 0.191 345.3);
Tailwind
colors: {
  custom: {
    50: '#cd72a7',
    500: '#b12a83',
    950: '#000000',
  },
}
SCSS
$custom: #b12a83;
$custom-light: #cd72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a83",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 320.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.19085,
    "h": 345.3
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#B12A83
secondary
#70C68E
accent
#E57A43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12A83

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

Preview Lab → · Contrast checker → · Palette generator →

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