#7D2E4A#7D2E4A

#7D2E4A is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.113 H 1.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7D2E4A
RGBrgb(125, 46, 74)
HSLhsl(339, 46%, 34%)
HSVhsv(339, 63%, 49%)
CMYKcmyk(0%, 63.2%, 40.8%, 51%)
CIE-LABlab(31.37, 37.03, 0.68)
CIE-LCHlch(31.37, 37.04, 1.06°)
OKLaboklab(42.3% 0.113 0.0022)
OKLCHoklch(42.3% 0.113 1.1)
XYZxyz(10.6711, 6.8096, 7.2296)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E4A #2E7D61
analogous
#7D2E71 #7D2E4A #7D392E
triadic
#7D2E4A #4A7D2E #2E4A7D
tetradic
#7D2E4A #717D2E #2E7D61 #392E7D
square
#7D2E4A #717D2E #2E7D61 #392E7D
split-complementary
#7D2E4A #2E7D39 #2E717D
monochromatic
#240D15 #501E30 #7D2E4A #AA3E64 #C56184

Accessibility & contrast

On white

8.89
#7D2E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E4A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E4A#FFFFFF#000000##FFFFFF
##7D2E4A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D404B
Deuteranopia (green-blind)
#514F48
Tritanopia (blue-blind)
#872639
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2e4a;
/* rgb */ color: rgb(125, 46, 74);
/* oklch */ color: oklch(42.3% 0.113 1.1);
Tailwind
colors: {
  custom: {
    50: '#a66b7c',
    500: '#7d2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e4a;
$custom-light: #a66b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e4a",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 338.734,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.11306,
    "h": 1.1
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#7D2E4A
secondary
#5BAB8F
accent
#D6A752
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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