#7D1F3D#7D1F3D

#7D1F3D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.130 H 6.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7D1F3D
RGBrgb(125, 31, 61)
HSLhsl(341, 60%, 31%)
HSVhsv(341, 75%, 49%)
CMYKcmyk(0%, 75.2%, 51.2%, 51%)
CIE-LABlab(28.59, 42.20, 5.28)
CIE-LCHlch(28.59, 42.53, 7.13°)
OKLaboklab(40.11% 0.1288 0.0138)
OKLCHoklch(40.11% 0.13 6.1)
XYZxyz(9.7906, 5.6782, 4.9944)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F3D #1F7D5F
analogous
#7D1F6C #7D1F3D #7D301F
triadic
#7D1F3D #3D7D1F #1F3D7D
tetradic
#7D1F3D #6C7D1F #1F7D5F #301F7D
square
#7D1F3D #6C7D1F #1F7D5F #301F7D
split-complementary
#7D1F3D #1F7D30 #1F6C7D
monochromatic
#1B070D #4C1325 #7D1F3D #AE2B55 #D14572

Accessibility & contrast

On white

9.83
#7D1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F3D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F3D#FFFFFF#000000##FFFFFF
##7D1F3D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35383E
Deuteranopia (green-blind)
#4E4A3B
Tritanopia (blue-blind)
#880C2B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f3d;
/* rgb */ color: rgb(125, 31, 61);
/* oklch */ color: oklch(40.1% 0.130 6.1);
Tailwind
colors: {
  custom: {
    50: '#a86372',
    500: '#7d1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f3d;
$custom-light: #a86372;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f3d",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 340.851,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.12955,
    "h": 6.1
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7D1F3D
secondary
#48B08F
accent
#E3B144
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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