#7D1D68#7D1D68

#7D1D68 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.154 H 338.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7D1D68
RGBrgb(125, 29, 104)
HSLhsl(313, 62%, 30%)
HSVhsv(313, 77%, 49%)
CMYKcmyk(0%, 76.8%, 16.8%, 51%)
CIE-LABlab(30.01, 48.24, -20.89)
CIE-LCHlch(30.01, 52.57, 336.58°)
OKLaboklab(41.7% 0.143 -0.0566)
OKLCHoklch(41.7% 0.154 338.4)
XYZxyz(11.3958, 6.2393, 13.6982)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D68 #1D7D32
analogous
#621D7D #7D1D68 #7D1D38
triadic
#7D1D68 #687D1D #1D687D
tetradic
#7D1D68 #7D621D #1D7D32 #1D387D
square
#7D1D68 #7D621D #1D7D32 #1D387D
split-complementary
#7D1D68 #387D1D #1D7D62
monochromatic
#1A0615 #4B113F #7D1D68 #AF2991 #D341B3

Accessibility & contrast

On white

9.34
#7D1D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D68
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D68#FFFFFF#000000##FFFFFF
##7D1D681.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#842240
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1d68;
/* rgb */ color: rgb(125, 29, 104);
/* oklch */ color: oklch(41.7% 0.154 338.4);
Tailwind
colors: {
  custom: {
    50: '#a66493',
    500: '#7d1d68',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d68;
$custom-light: #a66493;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d68",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 313.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.417,
    "c": 0.15378,
    "h": 338.4
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#7D1D68
secondary
#45B15D
accent
#E56642
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1D68

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

Preview Lab → · Contrast checker → · Palette generator →

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