#B12062#B12062

#B12062 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.185 H 359.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B12062
RGBrgb(177, 32, 98)
HSLhsl(333, 69%, 41%)
HSVhsv(333, 82%, 69%)
CMYKcmyk(0%, 81.9%, 44.6%, 30.6%)
CIE-LABlab(40.02, 60.09, -0.95)
CIE-LCHlch(40.02, 60.10, 359.10°)
OKLaboklab(50.73% 0.1849 -0.0018)
OKLCHoklch(50.73% 0.185 359.4)
XYZxyz(20.8543, 11.2648, 12.6291)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12062 #20B16F
analogous
#B120AA #B12062 #B12720
triadic
#B12062 #62B120 #2062B1
tetradic
#B12062 #AAB120 #20B16F #2720B1
square
#B12062 #AAB120 #20B16F #2720B1
split-complementary
#B12062 #20B127 #20AAB1
monochromatic
#490D29 #7D1745 #B12062 #DA3480 #E468A0

Accessibility & contrast

On white

6.46
#B12062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B12062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12062
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12062#FFFFFF#000000##FFFFFF
##B120621.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#C0003F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12062;
/* rgb */ color: rgb(177, 32, 98);
/* oklch */ color: oklch(50.7% 0.185 359.4);
Tailwind
colors: {
  custom: {
    50: '#ce6d8e',
    500: '#b12062',
    950: '#000000',
  },
}
SCSS
$custom: #b12062;
$custom-light: #ce6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12062",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 332.69,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.18489,
    "h": 359.4
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#B12062
secondary
#64C99B
accent
#EC9C3C
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12062

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

Preview Lab → · Contrast checker → · Palette generator →

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