#B12A7F#B12A7F

#B12A7F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.189 H 347.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B12A7F
RGBrgb(177, 42, 127)
HSLhsl(322, 62%, 43%)
HSVhsv(322, 76%, 69%)
CMYKcmyk(0%, 76.3%, 28.2%, 30.6%)
CIE-LABlab(42.06, 60.38, -15.99)
CIE-LCHlch(42.06, 62.46, 345.17°)
OKLaboklab(52.55% 0.1838 -0.0422)
OKLCHoklch(52.55% 0.189 347.1)
XYZxyz(22.7913, 12.5379, 21.2944)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A7F #2AB15C
analogous
#9F2AB1 #B12A7F #B12A3C
triadic
#B12A7F #7FB12A #2A7FB1
tetradic
#B12A7F #B19F2A #2AB15C #2A3CB1
square
#B12A7F #B19F2A #2AB15C #2A3CB1
split-complementary
#B12A7F #3CB12A #2AB19F
monochromatic
#4E1338 #801E5C #B12A7F #D3459E #DF77B8

Accessibility & contrast

On white

5.99
#B12A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B12A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A7F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A7F#FFFFFF#000000##FFFFFF
##B12A7F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#BE2551
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12a7f;
/* rgb */ color: rgb(177, 42, 127);
/* oklch */ color: oklch(52.5% 0.189 347.1);
Tailwind
colors: {
  custom: {
    50: '#cd71a4',
    500: '#b12a7f',
    950: '#000000',
  },
}
SCSS
$custom: #b12a7f;
$custom-light: #cd71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a7f",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 322.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.18857,
    "h": 347.1
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#B12A7F
secondary
#70C690
accent
#E57F43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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