#7D4071#7D4071

#7D4071 is a mid, moderate pink. Relative luminance 0.092; OKLCH L 46.5% C 0.107 H 335.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7D4071
RGBrgb(125, 64, 113)
HSLhsl(312, 32%, 37%)
HSVhsv(312, 49%, 49%)
CMYKcmyk(0%, 48.8%, 9.6%, 51%)
CIE-LABlab(36.40, 33.52, -16.71)
CIE-LCHlch(36.40, 37.45, 333.51°)
OKLaboklab(46.54% 0.0968 -0.0451)
OKLCHoklch(46.54% 0.107 335)
XYZxyz(13.2715, 9.2199, 16.7002)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4071 #407D4C
analogous
#6B407D #7D4071 #7D4053
triadic
#7D4071 #717D40 #40717D
tetradic
#7D4071 #7D6B40 #407D4C #40537D
square
#7D4071 #7D6B40 #407D4C #40537D
split-complementary
#7D4071 #537D40 #407D6B
monochromatic
#2C1728 #552B4C #7D4071 #A55596 #BC7CAF

Accessibility & contrast

On white

7.38
#7D4071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D4071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D4071
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4071#FFFFFF#000000##FFFFFF
##7D40711.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#824353
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d4071;
/* rgb */ color: rgb(125, 64, 113);
/* oklch */ color: oklch(46.5% 0.107 335.0);
Tailwind
colors: {
  custom: {
    50: '#a4779a',
    500: '#7d4071',
    950: '#000000',
  },
}
SCSS
$custom: #7d4071;
$custom-light: #a4779a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4071",
  "rgb": {
    "r": 125,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 311.803,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.10676,
    "h": 335
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#7D4071
secondary
#73A67D
accent
#C8745F
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7D4071

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

Preview Lab → · Contrast checker → · Palette generator →

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