#7D1C68#7D1C68

#7D1C68 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.155 H 338.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7D1C68
RGBrgb(125, 28, 104)
HSLhsl(313, 63%, 30%)
HSVhsv(313, 78%, 49%)
CMYKcmyk(0%, 77.6%, 16.8%, 51%)
CIE-LABlab(29.89, 48.58, -21.07)
CIE-LCHlch(29.89, 52.95, 336.55°)
OKLaboklab(41.61% 0.144 -0.0572)
OKLCHoklch(41.61% 0.155 338.3)
XYZxyz(11.3717, 6.1911, 13.6901)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C68 #1C7D31
analogous
#621C7D #7D1C68 #7D1C37
triadic
#7D1C68 #687D1C #1C687D
tetradic
#7D1C68 #7D621C #1C7D31 #1C377D
square
#7D1C68 #7D621C #1C7D31 #1C377D
split-complementary
#7D1C68 #377D1C #1C7D62
monochromatic
#190615 #4B113E #7D1C68 #AF2792 #D43FB4

Accessibility & contrast

On white

9.38
#7D1C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C68
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C68#FFFFFF#000000##FFFFFF
##7D1C681.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#842140
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1c68;
/* rgb */ color: rgb(125, 28, 104);
/* oklch */ color: oklch(41.6% 0.155 338.3);
Tailwind
colors: {
  custom: {
    50: '#a66393',
    500: '#7d1c68',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c68;
$custom-light: #a66393;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c68",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 312.99,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.15491,
    "h": 338.3
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#7D1C68
secondary
#44B15C
accent
#E66541
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1C68

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

Preview Lab → · Contrast checker → · Palette generator →

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