#B1266F#B1266F

#B1266F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.185 H 354.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B1266F
RGBrgb(177, 38, 111)
HSLhsl(328, 65%, 42%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 78.5%, 37.3%, 30.6%)
CIE-LABlab(41.03, 59.75, -7.62)
CIE-LCHlch(41.03, 60.23, 352.73°)
OKLaboklab(51.6% 0.1836 -0.0194)
OKLCHoklch(51.6% 0.185 354)
XYZxyz(21.6953, 11.8838, 16.1872)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1266F #26B168
analogous
#AD26B1 #B1266F #B1262A
triadic
#B1266F #6FB126 #266FB1
tetradic
#B1266F #B1AD26 #26B168 #262AB1
square
#B1266F #B1AD26 #26B168 #262AB1
split-complementary
#B1266F #2AB126 #26B1AD
monochromatic
#4C1030 #7F1B4F #B1266F #D63F8E #E071AC

Accessibility & contrast

On white

6.22
#B1266F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B1266F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1266F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1266F#FFFFFF#000000##FFFFFF
##B1266F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425171
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#BF1447
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1266f;
/* rgb */ color: rgb(177, 38, 111);
/* oklch */ color: oklch(51.6% 0.185 354.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f98',
    500: '#b1266f',
    950: '#000000',
  },
}
SCSS
$custom: #b1266f;
$custom-light: #cd6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#b1266f",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 328.489,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.18461,
    "h": 354
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#B1266F
secondary
#6BC797
accent
#E89040
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1266F

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

Preview Lab → · Contrast checker → · Palette generator →

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