#7D1F40#7D1F40

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

Color values

HEX#7D1F40
RGBrgb(125, 31, 64)
HSLhsl(339, 60%, 31%)
HSVhsv(339, 75%, 49%)
CMYKcmyk(0%, 75.2%, 48.8%, 51%)
CIE-LABlab(28.67, 42.49, 3.40)
CIE-LCHlch(28.67, 42.63, 4.57°)
OKLaboklab(40.2% 0.13 0.0091)
OKLCHoklch(40.2% 0.13 4)
XYZxyz(9.8737, 5.7114, 5.4320)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F40 #1F7D5C
analogous
#7D1F6F #7D1F40 #7D2D1F
triadic
#7D1F40 #407D1F #1F407D
tetradic
#7D1F40 #6F7D1F #1F7D5C #2D1F7D
square
#7D1F40 #6F7D1F #1F7D5C #2D1F7D
split-complementary
#7D1F40 #1F7D2D #1F6F7D
monochromatic
#1B070E #4C1327 #7D1F40 #AE2B59 #D14576

Accessibility & contrast

On white

9.80
#7D1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F40
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F40#FFFFFF#000000##FFFFFF
##7D1F401.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1f40;
/* rgb */ color: rgb(125, 31, 64);
/* oklch */ color: oklch(40.2% 0.130 4.0);
Tailwind
colors: {
  custom: {
    50: '#a76374',
    500: '#7d1f40',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f40;
$custom-light: #a76374;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f40",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 338.936,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.1303,
    "h": 4
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#7D1F40
secondary
#48B08B
accent
#E3AC44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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