#7D1957#7D1957

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

Color values

HEX#7D1957
RGBrgb(125, 25, 87)
HSLhsl(323, 67%, 29%)
HSVhsv(323, 80%, 49%)
CMYKcmyk(0%, 80%, 30.4%, 51%)
CIE-LABlab(28.76, 47.18, -11.75)
CIE-LCHlch(28.76, 48.63, 346.02°)
OKLaboklab(40.54% 0.1439 -0.031)
OKLCHoklch(40.54% 0.147 347.9)
XYZxyz(10.5259, 5.7446, 9.5695)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1957 #197D3F
analogous
#71197D #7D1957 #7D1925
triadic
#7D1957 #577D19 #19577D
tetradic
#7D1957 #7D7119 #197D3F #19257D
square
#7D1957 #7D7119 #197D3F #19257D
split-complementary
#7D1957 #257D19 #197D71
monochromatic
#1A0512 #4A0F34 #7D1957 #B0237A #D7399B

Accessibility & contrast

On white

9.77
#7D1957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1957
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1957#FFFFFF#000000##FFFFFF
##7D19571.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#861436
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1957;
/* rgb */ color: rgb(125, 25, 87);
/* oklch */ color: oklch(40.5% 0.147 347.9);
Tailwind
colors: {
  custom: {
    50: '#a76186',
    500: '#7d1957',
    950: '#000000',
  },
}
SCSS
$custom: #7d1957;
$custom-light: #a76186;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1957",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 322.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.14721,
    "h": 347.9
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#7D1957
secondary
#40B16B
accent
#EA7F3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1957

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

Preview Lab → · Contrast checker → · Palette generator →

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