#B12781#B12781

#B12781 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.193 H 346.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B12781
RGBrgb(177, 39, 129)
HSLhsl(321, 64%, 42%)
HSVhsv(321, 78%, 69%)
CMYKcmyk(0%, 78%, 27.1%, 30.6%)
CIE-LABlab(41.82, 61.53, -17.58)
CIE-LCHlch(41.82, 63.99, 344.05°)
OKLaboklab(52.41% 0.187 -0.0466)
OKLCHoklch(52.41% 0.193 346)
XYZxyz(22.8205, 12.3857, 21.9535)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12781 #27B157
analogous
#9C27B1 #B12781 #B1273C
triadic
#B12781 #81B127 #2781B1
tetradic
#B12781 #B19C27 #27B157 #273CB1
square
#B12781 #B19C27 #27B157 #273CB1
split-complementary
#B12781 #3CB127 #27B19C
monochromatic
#4D1138 #7F1C5C #B12781 #D540A1 #E072BA

Accessibility & contrast

On white

6.04
#B12781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B12781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12781
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12781#FFFFFF#000000##FFFFFF
##B127811.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#BD2351
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12781;
/* rgb */ color: rgb(177, 39, 129);
/* oklch */ color: oklch(52.4% 0.193 346.0);
Tailwind
colors: {
  custom: {
    50: '#cd70a5',
    500: '#b12781',
    950: '#000000',
  },
}
SCSS
$custom: #b12781;
$custom-light: #cd70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12781",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 320.87,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.19274,
    "h": 346
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#B12781
secondary
#6DC78C
accent
#E77B41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12781

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

Preview Lab → · Contrast checker → · Palette generator →

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