#7D1F41#7D1F41

#7D1F41 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.131 H 3.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7D1F41
RGBrgb(125, 31, 65)
HSLhsl(338, 60%, 31%)
HSVhsv(338, 75%, 49%)
CMYKcmyk(0%, 75.2%, 48%, 51%)
CIE-LABlab(28.70, 42.59, 2.77)
CIE-LCHlch(28.70, 42.68, 3.72°)
OKLaboklab(40.24% 0.1304 0.0076)
OKLCHoklch(40.24% 0.131 3.3)
XYZxyz(9.9024, 5.7229, 5.5832)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F41 #1F7D5B
analogous
#7D1F70 #7D1F41 #7D2C1F
triadic
#7D1F41 #417D1F #1F417D
tetradic
#7D1F41 #707D1F #1F7D5B #2C1F7D
square
#7D1F41 #707D1F #1F7D5B #2C1F7D
split-complementary
#7D1F41 #1F7D2C #1F707D
monochromatic
#1B070E #4C1327 #7D1F41 #AE2B5A #D14578

Accessibility & contrast

On white

9.79
#7D1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F41
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F41#FFFFFF#000000##FFFFFF
##7D1F411.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#880E2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f41;
/* rgb */ color: rgb(125, 31, 65);
/* oklch */ color: oklch(40.2% 0.131 3.3);
Tailwind
colors: {
  custom: {
    50: '#a76375',
    500: '#7d1f41',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f41;
$custom-light: #a76375;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f41",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 338.298,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.13059,
    "h": 3.3
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#7D1F41
secondary
#48B08A
accent
#E3AA44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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