#7D1E40#7D1E40

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

Color values

HEX#7D1E40
RGBrgb(125, 30, 64)
HSLhsl(339, 61%, 30%)
HSVhsv(339, 76%, 49%)
CMYKcmyk(0%, 76%, 48.8%, 51%)
CIE-LABlab(28.54, 42.87, 3.20)
CIE-LCHlch(28.54, 42.99, 4.27°)
OKLaboklab(40.1% 0.1312 0.0087)
OKLCHoklch(40.1% 0.131 3.8)
XYZxyz(9.8479, 5.6600, 5.4234)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E40 #1E7D5B
analogous
#7D1E6F #7D1E40 #7D2B1E
triadic
#7D1E40 #407D1E #1E407D
tetradic
#7D1E40 #6F7D1E #1E7D5B #2B1E7D
square
#7D1E40 #6F7D1E #1E7D5B #2B1E7D
split-complementary
#7D1E40 #1E7D2B #1E6F7D
monochromatic
#1A060D #4C1227 #7D1E40 #AE2A59 #D24376

Accessibility & contrast

On white

9.85
#7D1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E40
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E40#FFFFFF#000000##FFFFFF
##7D1E401.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#880C2C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1e40;
/* rgb */ color: rgb(125, 30, 64);
/* oklch */ color: oklch(40.1% 0.131 3.8);
Tailwind
colors: {
  custom: {
    50: '#a76374',
    500: '#7d1e40',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e40;
$custom-light: #a76374;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e40",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 338.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.13147,
    "h": 3.8
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#7D1E40
secondary
#46B08A
accent
#E4AB43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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