#7D1864#7D1864

#7D1864 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.156 H 340.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7D1864
RGBrgb(125, 24, 100)
HSLhsl(315, 68%, 29%)
HSVhsv(315, 81%, 49%)
CMYKcmyk(0%, 80.8%, 20%, 51%)
CIE-LABlab(29.25, 49.26, -19.49)
CIE-LCHlch(29.25, 52.97, 338.41°)
OKLaboklab(41.09% 0.1473 -0.0526)
OKLCHoklch(41.09% 0.156 340.3)
XYZxyz(11.0847, 5.9345, 12.6158)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1864 #187D31
analogous
#64187D #7D1864 #7D1832
triadic
#7D1864 #647D18 #18647D
tetradic
#7D1864 #7D6418 #187D31 #18327D
square
#7D1864 #7D6418 #187D31 #18327D
split-complementary
#7D1864 #327D18 #187D64
monochromatic
#1A0515 #4A0E3B #7D1864 #B0228D #D937B1

Accessibility & contrast

On white

9.60
#7D1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1864
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1864#FFFFFF#000000##FFFFFF
##7D18641.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#851B3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1864;
/* rgb */ color: rgb(125, 24, 100);
/* oklch */ color: oklch(41.1% 0.156 340.3);
Tailwind
colors: {
  custom: {
    50: '#a66290',
    500: '#7d1864',
    950: '#000000',
  },
}
SCSS
$custom: #7d1864;
$custom-light: #a66290;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1864",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 314.851,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.15642,
    "h": 340.3
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7D1864
secondary
#3FB25C
accent
#EB683D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1864

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

Preview Lab → · Contrast checker → · Palette generator →

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