#7D2F4E#7D2F4E

#7D2F4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.113 H 358.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7D2F4E
RGBrgb(125, 47, 78)
HSLhsl(336, 45%, 34%)
HSVhsv(336, 62%, 49%)
CMYKcmyk(0%, 62.4%, 37.6%, 51%)
CIE-LABlab(31.68, 37.03, -1.47)
CIE-LCHlch(31.68, 37.06, 357.72°)
OKLaboklab(42.58% 0.113 -0.0034)
OKLCHoklch(42.58% 0.113 358.3)
XYZxyz(10.8497, 6.9442, 7.9752)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F4E #2F7D5E
analogous
#7D2F75 #7D2F4E #7D372F
triadic
#7D2F4E #4E7D2F #2F4E7D
tetradic
#7D2F4E #757D2F #2F7D5E #372F7D
square
#7D2F4E #757D2F #2F7D5E #372F7D
split-complementary
#7D2F4E #2F7D37 #2F757D
monochromatic
#240E16 #511E32 #7D2F4E #A9406A #C46289

Accessibility & contrast

On white

8.79
#7D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F4E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F4E#FFFFFF#000000##FFFFFF
##7D2F4E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#87283B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2f4e;
/* rgb */ color: rgb(125, 47, 78);
/* oklch */ color: oklch(42.6% 0.113 358.3);
Tailwind
colors: {
  custom: {
    50: '#a66c7f',
    500: '#7d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f4e;
$custom-light: #a66c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f4e",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 336.154,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.11304,
    "h": 358.3
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#7D2F4E
secondary
#5DAB8C
accent
#D5A153
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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