#7D2D6E#7D2D6E

#7D2D6E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.137 H 335.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7D2D6E
RGBrgb(125, 45, 110)
HSLhsl(311, 47%, 33%)
HSVhsv(311, 64%, 49%)
CMYKcmyk(0%, 64%, 12%, 51%)
CIE-LABlab(32.62, 42.72, -20.66)
CIE-LCHlch(32.62, 47.45, 334.19°)
OKLaboklab(43.7% 0.1246 -0.0561)
OKLCHoklch(43.7% 0.137 335.7)
XYZxyz(12.2104, 7.3635, 15.5270)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D6E #2D7D3C
analogous
#642D7D #7D2D6E #7D2D46
triadic
#7D2D6E #6E7D2D #2D6E7D
tetradic
#7D2D6E #7D642D #2D7D3C #2D467D
square
#7D2D6E #7D642D #2D7D3C #2D467D
split-complementary
#7D2D6E #467D2D #2D7D64
monochromatic
#230D1F #501D46 #7D2D6E #AA3D96 #C55FB2

Accessibility & contrast

On white

8.49
#7D2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D6E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D6E#FFFFFF#000000##FFFFFF
##7D2D6E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#833249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2d6e;
/* rgb */ color: rgb(125, 45, 110);
/* oklch */ color: oklch(43.7% 0.137 335.7);
Tailwind
colors: {
  custom: {
    50: '#a56c98',
    500: '#7d2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d6e;
$custom-light: #a56c98;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d6e",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 311.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.13663,
    "h": 335.7
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#7D2D6E
secondary
#5AAC69
accent
#D76A51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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