#B7266C#B7266C

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

Color values

HEX#B7266C
RGBrgb(183, 38, 108)
HSLhsl(331, 66%, 43%)
HSVhsv(331, 79%, 72%)
CMYKcmyk(0%, 79.2%, 41%, 28.2%)
CIE-LABlab(42.06, 61.00, -4.09)
CIE-LCHlch(42.06, 61.14, 356.16°)
OKLaboklab(52.53% 0.1877 -0.01)
OKLCHoklch(52.53% 0.188 357)
XYZxyz(22.9300, 12.5392, 15.3973)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7266C #26B771
analogous
#B726B4 #B7266C #B72826
triadic
#B7266C #6CB726 #266CB7
tetradic
#B7266C #B4B726 #26B771 #2826B7
square
#B7266C #B4B726 #26B771 #2826B7
split-complementary
#B7266C #26B728 #26B4B7
monochromatic
#521130 #841B4E #B7266C #D8428B #E275AA

Accessibility & contrast

On white

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

On black

3.51
#B7266C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B7266C#FFFFFF#000000##FFFFFF
##B7266C1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#6E6D69
Tritanopia (blue-blind)
#C60A46
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7266c;
/* rgb */ color: rgb(183, 38, 108);
/* oklch */ color: oklch(52.5% 0.188 357.0);
Tailwind
colors: {
  custom: {
    50: '#d27096',
    500: '#b7266c',
    950: '#000000',
  },
}
SCSS
$custom: #b7266c;
$custom-light: #d27096;
$custom-dark: #000000;
JSON
{
  "hex": "#b7266c",
  "rgb": {
    "r": 183,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 331.034,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.18792,
    "h": 357
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#B7266C
secondary
#6FCA9E
accent
#E9973F
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B7266C

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

Preview Lab → · Contrast checker → · Palette generator →

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