#7D336F#7D336F

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

Color values

HEX#7D336F
RGBrgb(125, 51, 111)
HSLhsl(311, 42%, 35%)
HSVhsv(311, 59%, 49%)
CMYKcmyk(0%, 59.2%, 11.2%, 51%)
CIE-LABlab(33.72, 40.01, -19.58)
CIE-LCHlch(33.72, 44.55, 333.92°)
OKLaboklab(44.52% 0.1163 -0.0531)
OKLCHoklch(44.52% 0.128 335.4)
XYZxyz(12.5106, 7.8763, 15.8972)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D336F #337D41
analogous
#66337D #7D336F #7D334A
triadic
#7D336F #6F7D33 #336F7D
tetradic
#7D336F #7D6633 #337D41 #334A7D
square
#7D336F #7D6633 #337D41 #334A7D
split-complementary
#7D336F #4A7D33 #337D66
monochromatic
#261022 #522148 #7D336F #A84596 #C269B1

Accessibility & contrast

On white

8.16
#7D336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D336F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D336F#FFFFFF#000000##FFFFFF
##7D336F1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#4A536D
Tritanopia (blue-blind)
#83374C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d336f;
/* rgb */ color: rgb(125, 51, 111);
/* oklch */ color: oklch(44.5% 0.128 335.4);
Tailwind
colors: {
  custom: {
    50: '#a56f98',
    500: '#7d336f',
    950: '#000000',
  },
}
SCSS
$custom: #7d336f;
$custom-light: #a56f98;
$custom-dark: #000000;
JSON
{
  "hex": "#7d336f",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 311.351,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4452,
    "c": 0.12785,
    "h": 335.4
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#7D336F
secondary
#62AA70
accent
#D26D56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7D336F

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

Preview Lab → · Contrast checker → · Palette generator →

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