#B12864#B12864

#B12864 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.178 H 359.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B12864
RGBrgb(177, 40, 100)
HSLhsl(334, 63%, 43%)
HSVhsv(334, 77%, 69%)
CMYKcmyk(0%, 77.4%, 43.5%, 30.6%)
CIE-LABlab(40.88, 58.03, -0.96)
CIE-LCHlch(40.88, 58.04, 359.06°)
OKLaboklab(51.37% 0.1783 -0.0018)
OKLCHoklch(51.37% 0.178 359.4)
XYZxyz(21.1921, 11.7876, 13.2134)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12864 #28B175
analogous
#B128A8 #B12864 #B13128
triadic
#B12864 #64B128 #2864B1
tetradic
#B12864 #A8B128 #28B175 #3128B1
square
#B12864 #A8B128 #28B175 #3128B1
split-complementary
#B12864 #28B131 #28A8B1
monochromatic
#4D112C #7F1D48 #B12864 #D44282 #E074A3

Accessibility & contrast

On white

6.26
#B12864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12864
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12864#FFFFFF#000000##FFFFFF
##B128641.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475065
Deuteranopia (green-blind)
#6C6A61
Tritanopia (blue-blind)
#C00D43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12864;
/* rgb */ color: rgb(177, 40, 100);
/* oklch */ color: oklch(51.4% 0.178 359.4);
Tailwind
colors: {
  custom: {
    50: '#ce7090',
    500: '#b12864',
    950: '#000000',
  },
}
SCSS
$custom: #b12864;
$custom-light: #ce7090;
$custom-dark: #000000;
JSON
{
  "hex": "#b12864",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 333.723,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.17832,
    "h": 359.4
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#B12864
secondary
#6EC7A0
accent
#E69E42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12864

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

Preview Lab → · Contrast checker → · Palette generator →

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