#7D1958#7D1958

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

Color values

HEX#7D1958
RGBrgb(125, 25, 88)
HSLhsl(322, 67%, 29%)
HSVhsv(322, 80%, 49%)
CMYKcmyk(0%, 80%, 29.6%, 51%)
CIE-LABlab(28.80, 47.31, -12.34)
CIE-LCHlch(28.80, 48.90, 345.38°)
OKLaboklab(40.58% 0.1442 -0.0326)
OKLCHoklch(40.58% 0.148 347.3)
XYZxyz(10.5671, 5.7610, 9.7861)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1958 #197D3E
analogous
#70197D #7D1958 #7D1926
triadic
#7D1958 #587D19 #19587D
tetradic
#7D1958 #7D7019 #197D3E #19267D
square
#7D1958 #7D7019 #197D3E #19267D
split-complementary
#7D1958 #267D19 #197D70
monochromatic
#1A0512 #4A0F34 #7D1958 #B0237C #D7399D

Accessibility & contrast

On white

9.76
#7D1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1958
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1958#FFFFFF#000000##FFFFFF
##7D19581.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#861536
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1958;
/* rgb */ color: rgb(125, 25, 88);
/* oklch */ color: oklch(40.6% 0.148 347.3);
Tailwind
colors: {
  custom: {
    50: '#a76287',
    500: '#7d1958',
    950: '#000000',
  },
}
SCSS
$custom: #7d1958;
$custom-light: #a76287;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1958",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 322.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.14779,
    "h": 347.3
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#7D1958
secondary
#40B16A
accent
#EA7E3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1958

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

Preview Lab → · Contrast checker → · Palette generator →

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