#B26797#B26797

#B26797 is a mid, moderate pink. Relative luminance 0.214; OKLCH L 61.3% C 0.114 H 342.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B26797
RGBrgb(178, 103, 151)
HSLhsl(322, 33%, 55%)
HSVhsv(322, 42%, 70%)
CMYKcmyk(0%, 42.1%, 15.2%, 30.2%)
CIE-LABlab(53.39, 36.74, -13.18)
CIE-LCHlch(53.39, 39.03, 340.26°)
OKLaboklab(61.28% 0.1081 -0.035)
OKLCHoklch(61.28% 0.114 342.1)
XYZxyz(28.7965, 21.4017, 31.8863)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26797 #67B282
analogous
#A767B2 #B26797 #B26771
triadic
#B26797 #97B267 #6797B2
tetradic
#B26797 #B2A767 #67B282 #6771B2
square
#B26797 #B2A767 #67B282 #6771B2
split-complementary
#B26797 #71B267 #67B2A7
monochromatic
#693557 #924A78 #B26797 #C790B3 #DBB8CF

Accessibility & contrast

On white

3.98
#B26797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B26797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26797
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26797#FFFFFF#000000##000000
##B267971.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7899
Deuteranopia (green-blind)
#7E8495
Tritanopia (blue-blind)
#BA6779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b26797;
/* rgb */ color: rgb(178, 103, 151);
/* oklch */ color: oklch(61.3% 0.114 342.1);
Tailwind
colors: {
  custom: {
    50: '#ca94b5',
    500: '#b26797',
    950: '#000000',
  },
}
SCSS
$custom: #b26797;
$custom-light: #ca94b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b26797",
  "rgb": {
    "r": 178,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 321.6,
    "s": 32.751,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.11366,
    "h": 342.1
  },
  "luminance": 0.214
}

Semantic roles & 50–950 ramp

primary
#B26797
secondary
#ABCAB6
accent
#C9855F
background
#FCF9FB
surface
#F9F1F6
border
#D2CBD0
text
#130D11
muted
#827E80

Preview Lab

Preview with #B26797

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

Preview Lab → · Contrast checker → · Palette generator →

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