#B7266B#B7266B

#B7266B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 357.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B7266B
RGBrgb(183, 38, 107)
HSLhsl(331, 66%, 43%)
HSVhsv(331, 79%, 72%)
CMYKcmyk(0%, 79.2%, 41.5%, 28.2%)
CIE-LABlab(42.03, 60.90, -3.52)
CIE-LCHlch(42.03, 61.00, 356.69°)
OKLaboklab(52.49% 0.1873 -0.0085)
OKLCHoklch(52.49% 0.188 357.4)
XYZxyz(22.8771, 12.5180, 15.1186)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7266B #26B772
analogous
#B726B3 #B7266B #B72926
triadic
#B7266B #6BB726 #266BB7
tetradic
#B7266B #B3B726 #26B772 #2926B7
square
#B7266B #B3B726 #26B772 #2926B7
split-complementary
#B7266B #26B729 #26B3B7
monochromatic
#521130 #841B4D #B7266B #D84289 #E275A9

Accessibility & contrast

On white

5.99
#B7266B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B7266B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7266B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7266B#FFFFFF#000000##FFFFFF
##B7266B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#6E6D68
Tritanopia (blue-blind)
#C60945
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7266b;
/* rgb */ color: rgb(183, 38, 107);
/* oklch */ color: oklch(52.5% 0.188 357.4);
Tailwind
colors: {
  custom: {
    50: '#d27095',
    500: '#b7266b',
    950: '#000000',
  },
}
SCSS
$custom: #b7266b;
$custom-light: #d27095;
$custom-dark: #000000;
JSON
{
  "hex": "#b7266b",
  "rgb": {
    "r": 183,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 331.448,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.18753,
    "h": 357.4
  },
  "luminance": 0.12515
}

Semantic roles & 50–950 ramp

primary
#B7266B
secondary
#6FCA9F
accent
#E9983F
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B7266B

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

Preview Lab → · Contrast checker → · Palette generator →

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