#7D1863#7D1863

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

Color values

HEX#7D1863
RGBrgb(125, 24, 99)
HSLhsl(315, 68%, 29%)
HSVhsv(315, 81%, 49%)
CMYKcmyk(0%, 80.8%, 20.8%, 51%)
CIE-LABlab(29.20, 49.12, -18.92)
CIE-LCHlch(29.20, 52.63, 338.93°)
OKLaboklab(41.03% 0.1472 -0.051)
OKLCHoklch(41.03% 0.156 340.9)
XYZxyz(11.0366, 5.9152, 12.3625)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1863 #187D32
analogous
#65187D #7D1863 #7D1830
triadic
#7D1863 #637D18 #18637D
tetradic
#7D1863 #7D6518 #187D32 #18307D
square
#7D1863 #7D6518 #187D32 #18307D
split-complementary
#7D1863 #307D18 #187D65
monochromatic
#1A0514 #4A0E3A #7D1863 #B0228C #D937AF

Accessibility & contrast

On white

9.62
#7D1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1863
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1863#FFFFFF#000000##FFFFFF
##7D18631.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B65
Deuteranopia (green-blind)
#424B61
Tritanopia (blue-blind)
#851B3C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1863;
/* rgb */ color: rgb(125, 24, 99);
/* oklch */ color: oklch(41.0% 0.156 340.9);
Tailwind
colors: {
  custom: {
    50: '#a6628f',
    500: '#7d1863',
    950: '#000000',
  },
}
SCSS
$custom: #7d1863;
$custom-light: #a6628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1863",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 315.446,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.15575,
    "h": 340.9
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#7D1863
secondary
#3FB25D
accent
#EB6A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1863

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

Preview Lab → · Contrast checker → · Palette generator →

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