#7D1959#7D1959

#7D1959 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.148 H 346.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7D1959
RGBrgb(125, 25, 89)
HSLhsl(322, 67%, 29%)
HSVhsv(322, 80%, 49%)
CMYKcmyk(0%, 80%, 28.8%, 51%)
CIE-LABlab(28.84, 47.44, -12.93)
CIE-LCHlch(28.84, 49.17, 344.75°)
OKLaboklab(40.63% 0.1444 -0.0342)
OKLCHoklch(40.63% 0.148 346.7)
XYZxyz(10.6088, 5.7777, 10.0058)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1959 #197D3D
analogous
#6F197D #7D1959 #7D1927
triadic
#7D1959 #597D19 #19597D
tetradic
#7D1959 #7D6F19 #197D3D #19277D
square
#7D1959 #7D6F19 #197D3D #19277D
split-complementary
#7D1959 #277D19 #197D6F
monochromatic
#1A0512 #4A0F35 #7D1959 #B0237D #D7399E

Accessibility & contrast

On white

9.74
#7D1959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1959
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1959#FFFFFF#000000##FFFFFF
##7D19591.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#464A57
Tritanopia (blue-blind)
#861537
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1959;
/* rgb */ color: rgb(125, 25, 89);
/* oklch */ color: oklch(40.6% 0.148 346.7);
Tailwind
colors: {
  custom: {
    50: '#a66288',
    500: '#7d1959',
    950: '#000000',
  },
}
SCSS
$custom: #7d1959;
$custom-light: #a66288;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1959",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 321.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.14838,
    "h": 346.7
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#7D1959
secondary
#40B169
accent
#EA7C3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1959

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

Preview Lab → · Contrast checker → · Palette generator →

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