#7D1E42#7D1E42

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

Color values

HEX#7D1E42
RGBrgb(125, 30, 66)
HSLhsl(337, 61%, 30%)
HSVhsv(337, 76%, 49%)
CMYKcmyk(0%, 76%, 47.2%, 51%)
CIE-LABlab(28.60, 43.06, 1.95)
CIE-LCHlch(28.60, 43.11, 2.60°)
OKLaboklab(40.17% 0.132 0.0055)
OKLCHoklch(40.17% 0.132 2.4)
XYZxyz(9.9059, 5.6832, 5.7285)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E42 #1E7D59
analogous
#7D1E71 #7D1E42 #7D291E
triadic
#7D1E42 #427D1E #1E427D
tetradic
#7D1E42 #717D1E #1E7D59 #291E7D
square
#7D1E42 #717D1E #1E7D59 #291E7D
split-complementary
#7D1E42 #1E7D29 #1E717D
monochromatic
#1A060E #4C1228 #7D1E42 #AE2A5C #D24379

Accessibility & contrast

On white

9.83
#7D1E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E42
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E42#FFFFFF#000000##FFFFFF
##7D1E421.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#880D2D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1e42;
/* rgb */ color: rgb(125, 30, 66);
/* oklch */ color: oklch(40.2% 0.132 2.4);
Tailwind
colors: {
  custom: {
    50: '#a76376',
    500: '#7d1e42',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e42;
$custom-light: #a76376;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e42",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 337.263,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40169,
    "c": 0.13206,
    "h": 2.4
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#7D1E42
secondary
#46B088
accent
#E4A743
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1E42

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

Preview Lab → · Contrast checker → · Palette generator →

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