#7D1F3E#7D1F3E

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

Color values

HEX#7D1F3E
RGBrgb(125, 31, 62)
HSLhsl(340, 60%, 31%)
HSVhsv(340, 75%, 49%)
CMYKcmyk(0%, 75.2%, 50.4%, 51%)
CIE-LABlab(28.61, 42.30, 4.65)
CIE-LCHlch(28.61, 42.55, 6.27°)
OKLaboklab(40.14% 0.1292 0.0123)
OKLCHoklch(40.14% 0.13 5.4)
XYZxyz(9.8178, 5.6891, 5.1376)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F3E #1F7D5E
analogous
#7D1F6D #7D1F3E #7D2F1F
triadic
#7D1F3E #3E7D1F #1F3E7D
tetradic
#7D1F3E #6D7D1F #1F7D5E #2F1F7D
square
#7D1F3E #6D7D1F #1F7D5E #2F1F7D
split-complementary
#7D1F3E #1F7D2F #1F6D7D
monochromatic
#1B070D #4C1326 #7D1F3E #AE2B56 #D14573

Accessibility & contrast

On white

9.82
#7D1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F3E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F3E#FFFFFF#000000##FFFFFF
##7D1F3E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35383F
Deuteranopia (green-blind)
#4E4A3C
Tritanopia (blue-blind)
#880C2C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f3e;
/* rgb */ color: rgb(125, 31, 62);
/* oklch */ color: oklch(40.1% 0.130 5.4);
Tailwind
colors: {
  custom: {
    50: '#a86373',
    500: '#7d1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f3e;
$custom-light: #a86373;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f3e",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 340.213,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.12978,
    "h": 5.4
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7D1F3E
secondary
#48B08E
accent
#E3AF44
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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