#B12A7C#B12A7C

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

Color values

HEX#B12A7C
RGBrgb(177, 42, 124)
HSLhsl(324, 62%, 43%)
HSVhsv(324, 76%, 69%)
CMYKcmyk(0%, 76.3%, 29.9%, 30.6%)
CIE-LABlab(41.94, 60.02, -14.32)
CIE-LCHlch(41.94, 61.70, 346.58°)
OKLaboklab(52.43% 0.1831 -0.0376)
OKLCHoklch(52.43% 0.187 348.4)
XYZxyz(22.5987, 12.4609, 20.2800)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A7C #2AB15F
analogous
#A32AB1 #B12A7C #B12A38
triadic
#B12A7C #7CB12A #2A7CB1
tetradic
#B12A7C #B1A32A #2AB15F #2A38B1
square
#B12A7C #B1A32A #2AB15F #2A38B1
split-complementary
#B12A7C #38B12A #2AB1A3
monochromatic
#4E1337 #801E59 #B12A7C #D3459B #DF77B6

Accessibility & contrast

On white

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

On black

3.49
#B12A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12A7C#FFFFFF#000000##FFFFFF
##B12A7C1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#676B79
Tritanopia (blue-blind)
#BE2350
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12a7c;
/* rgb */ color: rgb(177, 42, 124);
/* oklch */ color: oklch(52.4% 0.187 348.4);
Tailwind
colors: {
  custom: {
    50: '#cd71a2',
    500: '#b12a7c',
    950: '#000000',
  },
}
SCSS
$custom: #b12a7c;
$custom-light: #cd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a7c",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 323.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.18694,
    "h": 348.4
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#B12A7C
secondary
#70C692
accent
#E58343
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B12A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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