#B12A7D#B12A7D

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

Color values

HEX#B12A7D
RGBrgb(177, 42, 125)
HSLhsl(323, 62%, 43%)
HSVhsv(323, 76%, 69%)
CMYKcmyk(0%, 76.3%, 29.4%, 30.6%)
CIE-LABlab(41.98, 60.14, -14.88)
CIE-LCHlch(41.98, 61.95, 346.10°)
OKLaboklab(52.47% 0.1833 -0.0392)
OKLCHoklch(52.47% 0.187 347.9)
XYZxyz(22.6622, 12.4863, 20.6147)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A7D #2AB15E
analogous
#A12AB1 #B12A7D #B12A39
triadic
#B12A7D #7DB12A #2A7DB1
tetradic
#B12A7D #B1A12A #2AB15E #2A39B1
square
#B12A7D #B1A12A #2AB15E #2A39B1
split-complementary
#B12A7D #39B12A #2AB1A1
monochromatic
#4E1337 #801E5A #B12A7D #D3459C #DF77B7

Accessibility & contrast

On white

6.01
#B12A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B12A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A7D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A7D#FFFFFF#000000##FFFFFF
##B12A7D1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#676B7A
Tritanopia (blue-blind)
#BE2450
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12a7d;
/* rgb */ color: rgb(177, 42, 125);
/* oklch */ color: oklch(52.5% 0.187 347.9);
Tailwind
colors: {
  custom: {
    50: '#cd71a2',
    500: '#b12a7d',
    950: '#000000',
  },
}
SCSS
$custom: #b12a7d;
$custom-light: #cd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a7d",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 323.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.18748,
    "h": 347.9
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#B12A7D
secondary
#70C692
accent
#E58143
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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