#7D1F68#7D1F68

#7D1F68 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.151 H 338.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7D1F68
RGBrgb(125, 31, 104)
HSLhsl(313, 60%, 31%)
HSVhsv(313, 75%, 49%)
CMYKcmyk(0%, 75.2%, 16.8%, 51%)
CIE-LABlab(30.26, 47.54, -20.50)
CIE-LCHlch(30.26, 51.77, 336.67°)
OKLaboklab(41.88% 0.1409 -0.0556)
OKLCHoklch(41.88% 0.151 338.5)
XYZxyz(11.4464, 6.3405, 13.7150)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F68 #1F7D34
analogous
#631F7D #7D1F68 #7D1F39
triadic
#7D1F68 #687D1F #1F687D
tetradic
#7D1F68 #7D631F #1F7D34 #1F397D
square
#7D1F68 #7D631F #1F7D34 #1F397D
split-complementary
#7D1F68 #397D1F #1F7D63
monochromatic
#1B0716 #4C133F #7D1F68 #AE2B91 #D145B2

Accessibility & contrast

On white

9.26
#7D1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F68
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F68#FFFFFF#000000##FFFFFF
##7D1F681.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E6A
Deuteranopia (green-blind)
#434C66
Tritanopia (blue-blind)
#842341
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1f68;
/* rgb */ color: rgb(125, 31, 104);
/* oklch */ color: oklch(41.9% 0.151 338.5);
Tailwind
colors: {
  custom: {
    50: '#a66593',
    500: '#7d1f68',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f68;
$custom-light: #a66593;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f68",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 313.404,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.15142,
    "h": 338.5
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#7D1F68
secondary
#48B05F
accent
#E36844
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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