#7D1F56#7D1F56

#7D1F56 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.140 H 349.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D1F56
RGBrgb(125, 31, 86)
HSLhsl(325, 60%, 31%)
HSVhsv(325, 75%, 49%)
CMYKcmyk(0%, 75.2%, 31.2%, 51%)
CIE-LABlab(29.45, 45.00, -10.05)
CIE-LCHlch(29.45, 46.11, 347.41°)
OKLaboklab(41.02% 0.1372 -0.0263)
OKLCHoklch(41.02% 0.14 349.1)
XYZxyz(10.6277, 6.0130, 9.4032)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F56 #1F7D46
analogous
#751F7D #7D1F56 #7D1F27
triadic
#7D1F56 #567D1F #1F567D
tetradic
#7D1F56 #7D751F #1F7D46 #1F277D
square
#7D1F56 #7D751F #1F7D46 #1F277D
split-complementary
#7D1F56 #277D1F #1F7D75
monochromatic
#1B0713 #4C1334 #7D1F56 #AE2B78 #D14597

Accessibility & contrast

On white

9.54
#7D1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F56
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F56#FFFFFF#000000##FFFFFF
##7D1F561.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#494B54
Tritanopia (blue-blind)
#861A37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1f56;
/* rgb */ color: rgb(125, 31, 86);
/* oklch */ color: oklch(41.0% 0.140 349.1);
Tailwind
colors: {
  custom: {
    50: '#a66485',
    500: '#7d1f56',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f56;
$custom-light: #a66485;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f56",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 324.894,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41024,
    "c": 0.13973,
    "h": 349.1
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#7D1F56
secondary
#48B073
accent
#E38644
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1F56

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

Preview Lab → · Contrast checker → · Palette generator →

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