#7D2E6F#7D2E6F

#7D2E6F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.136 H 335.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7D2E6F
RGBrgb(125, 46, 111)
HSLhsl(311, 46%, 34%)
HSVhsv(311, 63%, 49%)
CMYKcmyk(0%, 63.2%, 11.2%, 51%)
CIE-LABlab(32.84, 42.42, -20.96)
CIE-LCHlch(32.84, 47.32, 333.71°)
OKLaboklab(43.87% 0.1234 -0.057)
OKLCHoklch(43.87% 0.136 335.2)
XYZxyz(12.3038, 7.4626, 15.8283)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E6F #2E7D3C
analogous
#632E7D #7D2E6F #7D2E47
triadic
#7D2E6F #6F7D2E #2E6F7D
tetradic
#7D2E6F #7D632E #2E7D3C #2E477D
square
#7D2E6F #7D632E #2E7D3C #2E477D
split-complementary
#7D2E6F #477D2E #2E7D63
monochromatic
#240D20 #501E47 #7D2E6F #AA3E97 #C561B3

Accessibility & contrast

On white

8.43
#7D2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D2E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E6F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E6F#FFFFFF#000000##FFFFFF
##7D2E6F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#47526D
Tritanopia (blue-blind)
#83334A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2e6f;
/* rgb */ color: rgb(125, 46, 111);
/* oklch */ color: oklch(43.9% 0.136 335.2);
Tailwind
colors: {
  custom: {
    50: '#a56c98',
    500: '#7d2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e6f;
$custom-light: #a56c98;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e6f",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 310.633,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4387,
    "c": 0.13589,
    "h": 335.2
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#7D2E6F
secondary
#5BAB6A
accent
#D66952
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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