#7D3168#7D3168

#7D3168 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 43.9% C 0.126 H 339.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7D3168
RGBrgb(125, 49, 104)
HSLhsl(317, 44%, 34%)
HSVhsv(317, 61%, 49%)
CMYKcmyk(0%, 60.8%, 16.8%, 51%)
CIE-LABlab(33.04, 39.82, -16.19)
CIE-LCHlch(33.04, 42.99, 337.87°)
OKLaboklab(43.92% 0.1177 -0.0435)
OKLCHoklch(43.92% 0.126 339.7)
XYZxyz(12.0547, 7.5571, 13.9178)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3168 #317D46
analogous
#6C317D #7D3168 #7D3142
triadic
#7D3168 #687D31 #31687D
tetradic
#7D3168 #7D6C31 #317D46 #31427D
square
#7D3168 #7D6C31 #317D46 #31427D
split-complementary
#7D3168 #427D31 #317D6C
monochromatic
#250F1F #512043 #7D3168 #A9428D #C366A9

Accessibility & contrast

On white

8.36
#7D3168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D3168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3168
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3168#FFFFFF#000000##FFFFFF
##7D31681.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#4B5266
Tritanopia (blue-blind)
#843348
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d3168;
/* rgb */ color: rgb(125, 49, 104);
/* oklch */ color: oklch(43.9% 0.126 339.7);
Tailwind
colors: {
  custom: {
    50: '#a56e93',
    500: '#7d3168',
    950: '#000000',
  },
}
SCSS
$custom: #7d3168;
$custom-light: #a56e93;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3168",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 316.579,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43915,
    "c": 0.12552,
    "h": 339.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#7D3168
secondary
#60AA74
accent
#D37754
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D3168

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

Preview Lab → · Contrast checker → · Palette generator →

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