#7D2E4F#7D2E4F

#7D2E4F is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.115 H 357.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7D2E4F
RGBrgb(125, 46, 79)
HSLhsl(335, 46%, 34%)
HSVhsv(335, 63%, 49%)
CMYKcmyk(0%, 63.2%, 36.8%, 51%)
CIE-LABlab(31.53, 37.65, -2.34)
CIE-LCHlch(31.53, 37.72, 356.44°)
OKLaboklab(42.48% 0.1149 -0.0057)
OKLCHoklch(42.48% 0.115 357.2)
XYZxyz(10.8463, 6.8796, 8.1523)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E4F #2E7D5C
analogous
#7D2E76 #7D2E4F #7D342E
triadic
#7D2E4F #4F7D2E #2E4F7D
tetradic
#7D2E4F #767D2E #2E7D5C #342E7D
square
#7D2E4F #767D2E #2E7D5C #342E7D
split-complementary
#7D2E4F #2E7D34 #2E767D
monochromatic
#240D16 #501E33 #7D2E4F #AA3E6B #C5618A

Accessibility & contrast

On white

8.84
#7D2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D2E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E4F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E4F#FFFFFF#000000##FFFFFF
##7D2E4F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#50504D
Tritanopia (blue-blind)
#87283B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2e4f;
/* rgb */ color: rgb(125, 46, 79);
/* oklch */ color: oklch(42.5% 0.115 357.2);
Tailwind
colors: {
  custom: {
    50: '#a66b80',
    500: '#7d2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e4f;
$custom-light: #a66b80;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e4f",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 334.937,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.11501,
    "h": 357.2
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#7D2E4F
secondary
#5BAB8A
accent
#D69F52
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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