#7B5166#7B5166

#7B5166 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 48.8% C 0.063 H 348.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7B5166
RGBrgb(123, 81, 102)
HSLhsl(330, 21%, 40%)
HSVhsv(330, 34%, 48%)
CMYKcmyk(0%, 34.1%, 17.1%, 51.8%)
CIE-LABlab(39.67, 20.96, -4.93)
CIE-LCHlch(39.67, 21.53, 346.76°)
OKLaboklab(48.81% 0.0621 -0.0128)
OKLCHoklch(48.81% 0.063 348.3)
XYZxyz(13.5092, 11.0558, 13.9902)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5166 #517B66
analogous
#7B517B #7B5166 #7B5151
triadic
#7B5166 #667B51 #51667B
tetradic
#7B5166 #7B7B51 #517B66 #51517B
square
#7B5166 #7B7B51 #517B66 #51517B
split-complementary
#7B5166 #517B51 #517B7B
monochromatic
#312029 #563947 #7B5166 #9E6B85 #B690A3

Accessibility & contrast

On white

6.54
#7B5166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7B5166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5166
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5166#FFFFFF#000000##FFFFFF
##7B51661.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545967
Deuteranopia (green-blind)
#5F6065
Tritanopia (blue-blind)
#815058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b5166;
/* rgb */ color: rgb(123, 81, 102);
/* oklch */ color: oklch(48.8% 0.063 348.3);
Tailwind
colors: {
  custom: {
    50: '#a28291',
    500: '#7b5166',
    950: '#000000',
  },
}
SCSS
$custom: #7b5166;
$custom-light: #a28291;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5166",
  "rgb": {
    "r": 123,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 330,
    "s": 20.588,
    "l": 40
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.0634,
    "h": 348.3
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#7B5166
secondary
#84A394
accent
#BD946B
background
#FAF8F8
surface
#F3EFF0
border
#CDCACB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7B5166

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

Preview Lab → · Contrast checker → · Palette generator →

#7B5166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva