#7D1861#7D1861

#7D1861 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 342.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7D1861
RGBrgb(125, 24, 97)
HSLhsl(317, 68%, 29%)
HSVhsv(317, 81%, 49%)
CMYKcmyk(0%, 80.8%, 22.4%, 51%)
CIE-LABlab(29.10, 48.83, -17.77)
CIE-LCHlch(29.10, 51.96, 340.01°)
OKLaboklab(40.93% 0.1469 -0.0478)
OKLCHoklch(40.93% 0.154 342)
XYZxyz(10.9421, 5.8775, 11.8652)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1861 #187D34
analogous
#67187D #7D1861 #7D182F
triadic
#7D1861 #617D18 #18617D
tetradic
#7D1861 #7D6718 #187D34 #182F7D
square
#7D1861 #7D6718 #187D34 #182F7D
split-complementary
#7D1861 #2F7D18 #187D67
monochromatic
#1A0514 #4A0E39 #7D1861 #B02289 #D937AC

Accessibility & contrast

On white

9.65
#7D1861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1861
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1861#FFFFFF#000000##FFFFFF
##7D18611.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#434A5F
Tritanopia (blue-blind)
#851A3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1861;
/* rgb */ color: rgb(125, 24, 97);
/* oklch */ color: oklch(40.9% 0.154 342.0);
Tailwind
colors: {
  custom: {
    50: '#a6628e',
    500: '#7d1861',
    950: '#000000',
  },
}
SCSS
$custom: #7d1861;
$custom-light: #a6628e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1861",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 316.634,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.15443,
    "h": 342
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#7D1861
secondary
#3FB25F
accent
#EB6D3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1861

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

Preview Lab → · Contrast checker → · Palette generator →

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