#7D1F39#7D1F39

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

Color values

HEX#7D1F39
RGBrgb(125, 31, 57)
HSLhsl(343, 60%, 31%)
HSVhsv(343, 75%, 49%)
CMYKcmyk(0%, 75.2%, 54.4%, 51%)
CIE-LABlab(28.48, 41.84, 7.80)
CIE-LCHlch(28.48, 42.56, 10.56°)
OKLaboklab(40% 0.1272 0.02)
OKLCHoklch(40% 0.129 8.9)
XYZxyz(9.6868, 5.6367, 4.4480)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F39 #1F7D63
analogous
#7D1F68 #7D1F39 #7D341F
triadic
#7D1F39 #397D1F #1F397D
tetradic
#7D1F39 #687D1F #1F7D63 #341F7D
square
#7D1F39 #687D1F #1F7D63 #341F7D
split-complementary
#7D1F39 #1F7D34 #1F687D
monochromatic
#1B070C #4C1323 #7D1F39 #AE2B4F #D1456C

Accessibility & contrast

On white

9.87
#7D1F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F39
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F39#FFFFFF#000000##FFFFFF
##7D1F391.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363739
Deuteranopia (green-blind)
#4F4A37
Tritanopia (blue-blind)
#89092A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f39;
/* rgb */ color: rgb(125, 31, 57);
/* oklch */ color: oklch(40.0% 0.129 8.9);
Tailwind
colors: {
  custom: {
    50: '#a8636f',
    500: '#7d1f39',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f39;
$custom-light: #a8636f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f39",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 343.404,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39995,
    "c": 0.12875,
    "h": 8.9
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#7D1F39
secondary
#48B093
accent
#E3B744
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D1F39

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

Preview Lab → · Contrast checker → · Palette generator →

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