#B12865#B12865

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

Color values

HEX#B12865
RGBrgb(177, 40, 101)
HSLhsl(333, 63%, 43%)
HSVhsv(333, 77%, 69%)
CMYKcmyk(0%, 77.4%, 42.9%, 30.6%)
CIE-LABlab(40.91, 58.13, -1.54)
CIE-LCHlch(40.91, 58.15, 358.48°)
OKLaboklab(51.41% 0.1786 -0.0033)
OKLCHoklch(51.41% 0.179 358.9)
XYZxyz(21.2408, 11.8071, 13.4699)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12865 #28B174
analogous
#B128A9 #B12865 #B13028
triadic
#B12865 #65B128 #2865B1
tetradic
#B12865 #A9B128 #28B174 #3028B1
square
#B12865 #A9B128 #28B174 #3028B1
split-complementary
#B12865 #28B130 #28A9B1
monochromatic
#4D112C #7F1D49 #B12865 #D44283 #E074A4

Accessibility & contrast

On white

6.25
#B12865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12865
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12865#FFFFFF#000000##FFFFFF
##B128651.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475066
Deuteranopia (green-blind)
#6C6A62
Tritanopia (blue-blind)
#C00E43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12865;
/* rgb */ color: rgb(177, 40, 101);
/* oklch */ color: oklch(51.4% 0.179 358.9);
Tailwind
colors: {
  custom: {
    50: '#ce7090',
    500: '#b12865',
    950: '#000000',
  },
}
SCSS
$custom: #b12865;
$custom-light: #ce7090;
$custom-dark: #000000;
JSON
{
  "hex": "#b12865",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 333.285,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.17867,
    "h": 358.9
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#B12865
secondary
#6EC79F
accent
#E69D42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12865

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

Preview Lab → · Contrast checker → · Palette generator →

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