#7D1C67#7D1C67

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

Color values

HEX#7D1C67
RGBrgb(125, 28, 103)
HSLhsl(314, 63%, 30%)
HSVhsv(314, 78%, 49%)
CMYKcmyk(0%, 77.6%, 17.6%, 51%)
CIE-LABlab(29.84, 48.43, -20.51)
CIE-LCHlch(29.84, 52.59, 337.05°)
OKLaboklab(41.56% 0.1439 -0.0555)
OKLCHoklch(41.56% 0.154 338.9)
XYZxyz(11.3212, 6.1709, 13.4242)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C67 #1C7D32
analogous
#621C7D #7D1C67 #7D1C37
triadic
#7D1C67 #677D1C #1C677D
tetradic
#7D1C67 #7D621C #1C7D32 #1C377D
square
#7D1C67 #7D621C #1C7D32 #1C377D
split-complementary
#7D1C67 #377D1C #1C7D62
monochromatic
#190615 #4B113E #7D1C67 #AF2790 #D43FB2

Accessibility & contrast

On white

9.40
#7D1C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C67
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C67#FFFFFF#000000##FFFFFF
##7D1C671.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D69
Deuteranopia (green-blind)
#424C65
Tritanopia (blue-blind)
#84203F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1c67;
/* rgb */ color: rgb(125, 28, 103);
/* oklch */ color: oklch(41.6% 0.154 338.9);
Tailwind
colors: {
  custom: {
    50: '#a66392',
    500: '#7d1c67',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c67;
$custom-light: #a66392;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c67",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 313.608,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.1542,
    "h": 338.9
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#7D1C67
secondary
#44B15D
accent
#E66741
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1C67

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

Preview Lab → · Contrast checker → · Palette generator →

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