#B1266B#B1266B

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

Color values

HEX#B1266B
RGBrgb(177, 38, 107)
HSLhsl(330, 65%, 42%)
HSVhsv(330, 79%, 69%)
CMYKcmyk(0%, 78.5%, 39.5%, 30.6%)
CIE-LABlab(40.89, 59.33, -5.32)
CIE-LCHlch(40.89, 59.57, 354.87°)
OKLaboklab(51.46% 0.1824 -0.0133)
OKLCHoklch(51.46% 0.183 355.8)
XYZxyz(21.4799, 11.7976, 15.0531)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1266B #26B16C
analogous
#B126B1 #B1266B #B12726
triadic
#B1266B #6BB126 #266BB1
tetradic
#B1266B #B1B126 #26B16C #2726B1
square
#B1266B #B1B126 #26B16C #2726B1
split-complementary
#B1266B #26B127 #26B1B1
monochromatic
#4C102E #7F1B4D #B1266B #D63F8A #E071A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1266B#FFFFFF#000000##FFFFFF
##B1266B1.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)
#44506D
Deuteranopia (green-blind)
#6A6A68
Tritanopia (blue-blind)
#C01045
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1266b;
/* rgb */ color: rgb(177, 38, 107);
/* oklch */ color: oklch(51.5% 0.183 355.8);
Tailwind
colors: {
  custom: {
    50: '#cd6f95',
    500: '#b1266b',
    950: '#000000',
  },
}
SCSS
$custom: #b1266b;
$custom-light: #cd6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#b1266b",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 330.216,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.18291,
    "h": 355.8
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#B1266B
secondary
#6BC79A
accent
#E89540
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1266B

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

Preview Lab → · Contrast checker → · Palette generator →

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