#7D1D3F#7D1D3F

#7D1D3F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.132 H 4.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7D1D3F
RGBrgb(125, 29, 63)
HSLhsl(339, 62%, 30%)
HSVhsv(339, 77%, 49%)
CMYKcmyk(0%, 76.8%, 49.6%, 51%)
CIE-LABlab(28.38, 43.14, 3.64)
CIE-LCHlch(28.38, 43.29, 4.83°)
OKLaboklab(39.98% 0.132 0.0098)
OKLCHoklch(39.98% 0.132 4.2)
XYZxyz(9.7948, 5.5989, 5.2666)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D3F #1D7D5B
analogous
#7D1D6F #7D1D3F #7D2B1D
triadic
#7D1D3F #3F7D1D #1D3F7D
tetradic
#7D1D3F #6F7D1D #1D7D5B #2B1D7D
square
#7D1D3F #6F7D1D #1D7D5B #2B1D7D
split-complementary
#7D1D3F #1D7D2B #1D6F7D
monochromatic
#1A060D #4B1126 #7D1D3F #AF2958 #D34175

Accessibility & contrast

On white

9.91
#7D1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D3F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D3F#FFFFFF#000000##FFFFFF
##7D1D3F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343740
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#88092B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1d3f;
/* rgb */ color: rgb(125, 29, 63);
/* oklch */ color: oklch(40.0% 0.132 4.2);
Tailwind
colors: {
  custom: {
    50: '#a86273',
    500: '#7d1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d3f;
$custom-light: #a86273;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d3f",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 338.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.13234,
    "h": 4.2
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#7D1D3F
secondary
#45B18B
accent
#E5AC42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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