#B12A8A#B12A8A

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

Color values

HEX#B12A8A
RGBrgb(177, 42, 138)
HSLhsl(317, 62%, 43%)
HSVhsv(317, 76%, 69%)
CMYKcmyk(0%, 76.3%, 22%, 30.6%)
CIE-LABlab(42.52, 61.78, -22.02)
CIE-LCHlch(42.52, 65.59, 340.38°)
OKLaboklab(53.04% 0.1859 -0.0591)
OKLCHoklch(53.04% 0.195 342.4)
XYZxyz(23.5477, 12.8405, 25.2782)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A8A #2AB151
analogous
#942AB1 #B12A8A #B12A47
triadic
#B12A8A #8AB12A #2A8AB1
tetradic
#B12A8A #B1942A #2AB151 #2A47B1
square
#B12A8A #B1942A #2AB151 #2A47B1
split-complementary
#B12A8A #47B12A #2AB194
monochromatic
#4E133D #801E63 #B12A8A #D345AA #DF77C1

Accessibility & contrast

On white

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

On black

3.57
#B12A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12A8A#FFFFFF#000000##FFFFFF
##B12A8A1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568D
Deuteranopia (green-blind)
#636C87
Tritanopia (blue-blind)
#BC2B57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12a8a;
/* rgb */ color: rgb(177, 42, 138);
/* oklch */ color: oklch(53.0% 0.195 342.4);
Tailwind
colors: {
  custom: {
    50: '#cc72ac',
    500: '#b12a8a',
    950: '#000000',
  },
}
SCSS
$custom: #b12a8a;
$custom-light: #cc72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a8a",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 317.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53038,
    "c": 0.19503,
    "h": 342.4
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#B12A8A
secondary
#70C689
accent
#E57243
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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