#B12868#B12868

#B12868 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.180 H 357.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B12868
RGBrgb(177, 40, 104)
HSLhsl(332, 63%, 43%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 77.4%, 41.2%, 30.6%)
CIE-LABlab(41.00, 58.43, -3.28)
CIE-LCHlch(41.00, 58.52, 356.79°)
OKLaboklab(51.51% 0.1796 -0.0079)
OKLCHoklch(51.51% 0.18 357.5)
XYZxyz(21.3905, 11.8669, 14.2582)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12868 #28B171
analogous
#B128AC #B12868 #B12D28
triadic
#B12868 #68B128 #2868B1
tetradic
#B12868 #ACB128 #28B171 #2D28B1
square
#B12868 #ACB128 #28B171 #2D28B1
split-complementary
#B12868 #28B12D #28ACB1
monochromatic
#4D112D #7F1D4B #B12868 #D44286 #E074A6

Accessibility & contrast

On white

6.23
#B12868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B12868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12868
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12868#FFFFFF#000000##FFFFFF
##B128681.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46506A
Deuteranopia (green-blind)
#6B6A65
Tritanopia (blue-blind)
#C01145
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12868;
/* rgb */ color: rgb(177, 40, 104);
/* oklch */ color: oklch(51.5% 0.180 357.5);
Tailwind
colors: {
  custom: {
    50: '#ce7093',
    500: '#b12868',
    950: '#000000',
  },
}
SCSS
$custom: #b12868;
$custom-light: #ce7093;
$custom-dark: #000000;
JSON
{
  "hex": "#b12868",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 331.971,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.17977,
    "h": 357.5
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#B12868
secondary
#6EC79D
accent
#E69942
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B12868

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

Preview Lab → · Contrast checker → · Palette generator →

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