#B12867#B12867

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

Color values

HEX#B12867
RGBrgb(177, 40, 103)
HSLhsl(332, 63%, 43%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 77.4%, 41.8%, 30.6%)
CIE-LABlab(40.97, 58.33, -2.70)
CIE-LCHlch(40.97, 58.39, 357.35°)
OKLaboklab(51.47% 0.1793 -0.0064)
OKLCHoklch(51.47% 0.179 358)
XYZxyz(21.3400, 11.8467, 13.9922)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12867 #28B172
analogous
#B128AB #B12867 #B12E28
triadic
#B12867 #67B128 #2867B1
tetradic
#B12867 #ABB128 #28B172 #2E28B1
square
#B12867 #ABB128 #28B172 #2E28B1
split-complementary
#B12867 #28B12E #28ABB1
monochromatic
#4D112D #7F1D4A #B12867 #D44285 #E074A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12867#FFFFFF#000000##FFFFFF
##B128671.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)
#465069
Deuteranopia (green-blind)
#6C6A64
Tritanopia (blue-blind)
#C01044
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12867;
/* rgb */ color: rgb(177, 40, 103);
/* oklch */ color: oklch(51.5% 0.179 358.0);
Tailwind
colors: {
  custom: {
    50: '#ce7092',
    500: '#b12867',
    950: '#000000',
  },
}
SCSS
$custom: #b12867;
$custom-light: #ce7092;
$custom-dark: #000000;
JSON
{
  "hex": "#b12867",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 332.409,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.17939,
    "h": 358
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#B12867
secondary
#6EC79E
accent
#E69B42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #B12867

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

Preview Lab → · Contrast checker → · Palette generator →

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