#B12A7E#B12A7E

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

Color values

HEX#B12A7E
RGBrgb(177, 42, 126)
HSLhsl(323, 62%, 43%)
HSVhsv(323, 76%, 69%)
CMYKcmyk(0%, 76.3%, 28.8%, 30.6%)
CIE-LABlab(42.02, 60.26, -15.43)
CIE-LCHlch(42.02, 62.20, 345.63°)
OKLaboklab(52.51% 0.1836 -0.0407)
OKLCHoklch(52.51% 0.188 347.5)
XYZxyz(22.7264, 12.5120, 20.9528)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A7E #2AB15D
analogous
#A12AB1 #B12A7E #B12A3A
triadic
#B12A7E #7EB12A #2A7EB1
tetradic
#B12A7E #B1A12A #2AB15D #2A3AB1
square
#B12A7E #B1A12A #2AB15D #2A3AB1
split-complementary
#B12A7E #3AB12A #2AB1A1
monochromatic
#4E1338 #801E5B #B12A7E #D3459D #DF77B7

Accessibility & contrast

On white

6.00
#B12A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12A7E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A7E#FFFFFF#000000##FFFFFF
##B12A7E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#666C7B
Tritanopia (blue-blind)
#BE2451
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12a7e;
/* rgb */ color: rgb(177, 42, 126);
/* oklch */ color: oklch(52.5% 0.188 347.5);
Tailwind
colors: {
  custom: {
    50: '#cd71a3',
    500: '#b12a7e',
    950: '#000000',
  },
}
SCSS
$custom: #b12a7e;
$custom-light: #cd71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a7e",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 322.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.18802,
    "h": 347.5
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#B12A7E
secondary
#70C691
accent
#E58043
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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