#B12682#B12682

#B12682 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.194 H 345.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B12682
RGBrgb(177, 38, 130)
HSLhsl(320, 65%, 42%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 78.5%, 26.6%, 30.6%)
CIE-LABlab(41.76, 61.94, -18.29)
CIE-LCHlch(41.76, 64.58, 343.55°)
OKLaboklab(52.38% 0.1881 -0.0486)
OKLCHoklch(52.38% 0.194 345.5)
XYZxyz(22.8549, 12.3476, 22.2945)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12682 #26B155
analogous
#9B26B1 #B12682 #B1263C
triadic
#B12682 #82B126 #2682B1
tetradic
#B12682 #B19B26 #26B155 #263CB1
square
#B12682 #B19B26 #26B155 #263CB1
split-complementary
#B12682 #3CB126 #26B19B
monochromatic
#4C1038 #7F1B5D #B12682 #D63FA3 #E071BB

Accessibility & contrast

On white

6.05
#B12682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B12682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12682
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12682#FFFFFF#000000##FFFFFF
##B126821.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#BD2351
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12682;
/* rgb */ color: rgb(177, 38, 130);
/* oklch */ color: oklch(52.4% 0.194 345.5);
Tailwind
colors: {
  custom: {
    50: '#cd70a6',
    500: '#b12682',
    950: '#000000',
  },
}
SCSS
$custom: #b12682;
$custom-light: #cd70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12682",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 320.288,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.19428,
    "h": 345.5
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#B12682
secondary
#6BC78B
accent
#E87940
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B12682

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

Preview Lab → · Contrast checker → · Palette generator →

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