#B12A82#B12A82

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

Color values

HEX#B12A82
RGBrgb(177, 42, 130)
HSLhsl(321, 62%, 43%)
HSVhsv(321, 76%, 69%)
CMYKcmyk(0%, 76.3%, 26.6%, 30.6%)
CIE-LABlab(42.18, 60.75, -17.65)
CIE-LCHlch(42.18, 63.26, 343.80°)
OKLaboklab(52.68% 0.1844 -0.0468)
OKLCHoklch(52.68% 0.19 345.7)
XYZxyz(22.9897, 12.6173, 22.3394)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A82 #2AB159
analogous
#9C2AB1 #B12A82 #B12A3E
triadic
#B12A82 #82B12A #2A82B1
tetradic
#B12A82 #B19C2A #2AB159 #2A3EB1
square
#B12A82 #B19C2A #2AB159 #2A3EB1
split-complementary
#B12A82 #3EB12A #2AB19C
monochromatic
#4E1339 #801E5E #B12A82 #D345A2 #DF77BA

Accessibility & contrast

On white

5.96
#B12A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B12A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A82
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A82#FFFFFF#000000##FFFFFF
##B12A821.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12a82;
/* rgb */ color: rgb(177, 42, 130);
/* oklch */ color: oklch(52.7% 0.190 345.7);
Tailwind
colors: {
  custom: {
    50: '#cd71a6',
    500: '#b12a82',
    950: '#000000',
  },
}
SCSS
$custom: #b12a82;
$custom-light: #cd71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a82",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 320.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.19027,
    "h": 345.7
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12A82

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

Preview Lab → · Contrast checker → · Palette generator →

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