#7D3161#7D3161

#7D3161 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.120 H 344.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7D3161
RGBrgb(125, 49, 97)
HSLhsl(322, 44%, 34%)
HSVhsv(322, 61%, 49%)
CMYKcmyk(0%, 60.8%, 22.4%, 51%)
CIE-LABlab(32.75, 38.71, -12.17)
CIE-LCHlch(32.75, 40.58, 342.55°)
OKLaboklab(43.6% 0.116 -0.0323)
OKLCHoklch(43.6% 0.12 344.4)
XYZxyz(11.7138, 7.4207, 12.1224)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3161 #317D4D
analogous
#73317D #7D3161 #7D313B
triadic
#7D3161 #617D31 #31617D
tetradic
#7D3161 #7D7331 #317D4D #313B7D
square
#7D3161 #7D7331 #317D4D #313B7D
split-complementary
#7D3161 #3B7D31 #317D73
monochromatic
#250F1D #51203F #7D3161 #A94283 #C366A0

Accessibility & contrast

On white

8.45
#7D3161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D3161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3161
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3161#FFFFFF#000000##FFFFFF
##7D31611.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384563
Deuteranopia (green-blind)
#4D525F
Tritanopia (blue-blind)
#853144
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d3161;
/* rgb */ color: rgb(125, 49, 97);
/* oklch */ color: oklch(43.6% 0.120 344.4);
Tailwind
colors: {
  custom: {
    50: '#a56d8e',
    500: '#7d3161',
    950: '#000000',
  },
}
SCSS
$custom: #7d3161;
$custom-light: #a56d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3161",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 322.105,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.12041,
    "h": 344.4
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#7D3161
secondary
#60AA7B
accent
#D38354
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D3161

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

Preview Lab → · Contrast checker → · Palette generator →

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