#7D336E#7D336E

#7D336E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.5% C 0.127 H 336.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7D336E
RGBrgb(125, 51, 110)
HSLhsl(312, 42%, 35%)
HSVhsv(312, 59%, 49%)
CMYKcmyk(0%, 59.2%, 12%, 51%)
CIE-LABlab(33.68, 39.84, -19.02)
CIE-LCHlch(33.68, 44.15, 334.48°)
OKLaboklab(44.47% 0.1161 -0.0515)
OKLCHoklch(44.47% 0.127 336.1)
XYZxyz(12.4558, 7.8544, 15.6088)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D336E #337D42
analogous
#67337D #7D336E #7D3349
triadic
#7D336E #6E7D33 #336E7D
tetradic
#7D336E #7D6733 #337D42 #33497D
square
#7D336E #7D6733 #337D42 #33497D
split-complementary
#7D336E #497D33 #337D67
monochromatic
#261022 #522148 #7D336E #A84594 #C269B0

Accessibility & contrast

On white

8.17
#7D336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D336E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D336E#FFFFFF#000000##FFFFFF
##7D336E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#4A536C
Tritanopia (blue-blind)
#83374B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d336e;
/* rgb */ color: rgb(125, 51, 110);
/* oklch */ color: oklch(44.5% 0.127 336.1);
Tailwind
colors: {
  custom: {
    50: '#a56f97',
    500: '#7d336e',
    950: '#000000',
  },
}
SCSS
$custom: #7d336e;
$custom-light: #a56f97;
$custom-dark: #000000;
JSON
{
  "hex": "#7d336e",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 312.162,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.12702,
    "h": 336.1
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#7D336E
secondary
#62AA71
accent
#D26F56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7D336E

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

Preview Lab → · Contrast checker → · Palette generator →

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