#B12860#B12860

#B12860 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.177 H 1.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B12860
RGBrgb(177, 40, 96)
HSLhsl(335, 63%, 43%)
HSVhsv(335, 77%, 69%)
CMYKcmyk(0%, 77.4%, 45.8%, 30.6%)
CIE-LABlab(40.75, 57.65, 1.38)
CIE-LCHlch(40.75, 57.67, 1.38°)
OKLaboklab(51.24% 0.177 0.0042)
OKLCHoklch(51.24% 0.177 1.4)
XYZxyz(21.0033, 11.7120, 12.2187)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12860 #28B179
analogous
#B128A5 #B12860 #B13428
triadic
#B12860 #60B128 #2860B1
tetradic
#B12860 #A5B128 #28B179 #3428B1
square
#B12860 #A5B128 #28B179 #3428B1
split-complementary
#B12860 #28B134 #28A5B1
monochromatic
#4D112A #7F1D45 #B12860 #D4427E #E074A0

Accessibility & contrast

On white

6.28
#B12860 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B12860 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12860
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12860#FFFFFF#000000##FFFFFF
##B128601.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F61
Deuteranopia (green-blind)
#6D6A5D
Tritanopia (blue-blind)
#C00841
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12860;
/* rgb */ color: rgb(177, 40, 96);
/* oklch */ color: oklch(51.2% 0.177 1.4);
Tailwind
colors: {
  custom: {
    50: '#ce708d',
    500: '#b12860',
    950: '#000000',
  },
}
SCSS
$custom: #b12860;
$custom-light: #ce708d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12860",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 335.474,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.17701,
    "h": 1.4
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#B12860
secondary
#6EC7A3
accent
#E6A342
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12860

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

Preview Lab → · Contrast checker → · Palette generator →

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