#7D1956#7D1956

#7D1956 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.147 H 348.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7D1956
RGBrgb(125, 25, 86)
HSLhsl(323, 67%, 29%)
HSVhsv(323, 80%, 49%)
CMYKcmyk(0%, 80%, 31.2%, 51%)
CIE-LABlab(28.72, 47.06, -11.16)
CIE-LCHlch(28.72, 48.36, 346.66°)
OKLaboklab(40.49% 0.1437 -0.0293)
OKLCHoklch(40.49% 0.147 348.5)
XYZxyz(10.4853, 5.7283, 9.3558)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1956 #197D40
analogous
#72197D #7D1956 #7D1924
triadic
#7D1956 #567D19 #19567D
tetradic
#7D1956 #7D7219 #197D40 #19247D
square
#7D1956 #7D7219 #197D40 #19247D
split-complementary
#7D1956 #247D19 #197D72
monochromatic
#1A0512 #4A0F33 #7D1956 #B02379 #D7399A

Accessibility & contrast

On white

9.79
#7D1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1956
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1956#FFFFFF#000000##FFFFFF
##7D19561.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#861335
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1956;
/* rgb */ color: rgb(125, 25, 86);
/* oklch */ color: oklch(40.5% 0.147 348.5);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7d1956',
    950: '#000000',
  },
}
SCSS
$custom: #7d1956;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1956",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 323.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40493,
    "c": 0.14664,
    "h": 348.5
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#7D1956
secondary
#40B16C
accent
#EA813E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1956

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

Preview Lab → · Contrast checker → · Palette generator →

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