#7D3156#7D3156

#7D3156 is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.1% C 0.114 H 352.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7D3156
RGBrgb(125, 49, 86)
HSLhsl(331, 44%, 34%)
HSVhsv(331, 61%, 49%)
CMYKcmyk(0%, 60.8%, 31.2%, 51%)
CIE-LABlab(32.32, 37.10, -5.72)
CIE-LCHlch(32.32, 37.54, 351.24°)
OKLaboklab(43.15% 0.1127 -0.0147)
OKLCHoklch(43.15% 0.114 352.6)
XYZxyz(11.2360, 7.2296, 9.6060)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3156 #317D58
analogous
#7D317C #7D3156 #7D3231
triadic
#7D3156 #567D31 #31567D
tetradic
#7D3156 #7C7D31 #317D58 #32317D
square
#7D3156 #7C7D31 #317D58 #32317D
split-complementary
#7D3156 #317D32 #317C7D
monochromatic
#250F1A #512038 #7D3156 #A94274 #C36693

Accessibility & contrast

On white

8.59
#7D3156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D3156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3156
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3156#FFFFFF#000000##FFFFFF
##7D31561.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4357
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#862D40
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d3156;
/* rgb */ color: rgb(125, 49, 86);
/* oklch */ color: oklch(43.1% 0.114 352.6);
Tailwind
colors: {
  custom: {
    50: '#a56d85',
    500: '#7d3156',
    950: '#000000',
  },
}
SCSS
$custom: #7d3156;
$custom-light: #a56d85;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3156",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 330.789,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.11364,
    "h": 352.6
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#7D3156
secondary
#60AA86
accent
#D39654
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7D3156

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

Preview Lab → · Contrast checker → · Palette generator →

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