#7B3156#7B3156

#7B3156 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.112 H 351.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7B3156
RGBrgb(123, 49, 86)
HSLhsl(330, 43%, 34%)
HSVhsv(330, 60%, 48%)
CMYKcmyk(0%, 60.2%, 30.1%, 51.8%)
CIE-LABlab(31.99, 36.42, -6.25)
CIE-LCHlch(31.99, 36.95, 350.26°)
OKLaboklab(42.83% 0.1105 -0.0161)
OKLCHoklch(42.83% 0.112 351.7)
XYZxyz(10.9469, 7.0805, 9.5925)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3156 #317B56
analogous
#7B317B #7B3156 #7B3131
triadic
#7B3156 #567B31 #31567B
tetradic
#7B3156 #7B7B31 #317B56 #31317B
square
#7B3156 #7B7B31 #317B56 #31317B
split-complementary
#7B3156 #317B31 #317B7B
monochromatic
#230E19 #4F2037 #7B3156 #A74275 #C26593

Accessibility & contrast

On white

8.69
#7B3156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B3156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3156
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3156#FFFFFF#000000##FFFFFF
##7B31561.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#842E3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b3156;
/* rgb */ color: rgb(123, 49, 86);
/* oklch */ color: oklch(42.8% 0.112 351.7);
Tailwind
colors: {
  custom: {
    50: '#a46d85',
    500: '#7b3156',
    950: '#000000',
  },
}
SCSS
$custom: #7b3156;
$custom-light: #a46d85;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3156",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 330,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.11163,
    "h": 351.7
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#7B3156
secondary
#5FA984
accent
#D39455
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#0F070B
muted
#7F7A7C

Preview Lab

Preview with #7B3156

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

Preview Lab → · Contrast checker → · Palette generator →

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