#7D1862#7D1862

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

Color values

HEX#7D1862
RGBrgb(125, 24, 98)
HSLhsl(316, 68%, 29%)
HSVhsv(316, 81%, 49%)
CMYKcmyk(0%, 80.8%, 21.6%, 51%)
CIE-LABlab(29.15, 48.97, -18.34)
CIE-LCHlch(29.15, 52.30, 339.47°)
OKLaboklab(40.98% 0.147 -0.0494)
OKLCHoklch(40.98% 0.155 341.4)
XYZxyz(10.9891, 5.8962, 12.1123)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1862 #187D33
analogous
#66187D #7D1862 #7D182F
triadic
#7D1862 #627D18 #18627D
tetradic
#7D1862 #7D6618 #187D33 #182F7D
square
#7D1862 #7D6618 #187D33 #182F7D
split-complementary
#7D1862 #2F7D18 #187D66
monochromatic
#1A0514 #4A0E3A #7D1862 #B0228A #D937AD

Accessibility & contrast

On white

9.64
#7D1862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1862
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1862#FFFFFF#000000##FFFFFF
##7D18621.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1862;
/* rgb */ color: rgb(125, 24, 98);
/* oklch */ color: oklch(41.0% 0.155 341.4);
Tailwind
colors: {
  custom: {
    50: '#a6628f',
    500: '#7d1862',
    950: '#000000',
  },
}
SCSS
$custom: #7d1862;
$custom-light: #a6628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1862",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 316.04,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.15508,
    "h": 341.4
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#7D1862
secondary
#3FB25E
accent
#EB6C3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1862

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

Preview Lab → · Contrast checker → · Palette generator →

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