#7D1F67#7D1F67

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

Color values

HEX#7D1F67
RGBrgb(125, 31, 103)
HSLhsl(314, 60%, 31%)
HSVhsv(314, 75%, 49%)
CMYKcmyk(0%, 75.2%, 17.6%, 51%)
CIE-LABlab(30.21, 47.38, -19.94)
CIE-LCHlch(30.21, 51.41, 337.18°)
OKLaboklab(41.83% 0.1407 -0.0539)
OKLCHoklch(41.83% 0.151 339)
XYZxyz(11.3959, 6.3203, 13.4491)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F67 #1F7D35
analogous
#641F7D #7D1F67 #7D1F38
triadic
#7D1F67 #677D1F #1F677D
tetradic
#7D1F67 #7D641F #1F7D35 #1F387D
square
#7D1F67 #7D641F #1F7D35 #1F387D
split-complementary
#7D1F67 #387D1F #1F7D64
monochromatic
#1B0716 #4C133F #7D1F67 #AE2B8F #D145B0

Accessibility & contrast

On white

9.28
#7D1F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F67
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F67#FFFFFF#000000##FFFFFF
##7D1F671.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E69
Deuteranopia (green-blind)
#434C65
Tritanopia (blue-blind)
#842340
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1f67;
/* rgb */ color: rgb(125, 31, 103);
/* oklch */ color: oklch(41.8% 0.151 339.0);
Tailwind
colors: {
  custom: {
    50: '#a66492',
    500: '#7d1f67',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f67;
$custom-light: #a66492;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f67",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 314.043,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.1507,
    "h": 339
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#7D1F67
secondary
#48B060
accent
#E36A44
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1F67

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

Preview Lab → · Contrast checker → · Palette generator →

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