#7D2F4C#7D2F4C

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

Color values

HEX#7D2F4C
RGBrgb(125, 47, 76)
HSLhsl(338, 45%, 34%)
HSVhsv(338, 62%, 49%)
CMYKcmyk(0%, 62.4%, 39.2%, 51%)
CIE-LABlab(31.61, 36.78, -0.26)
CIE-LCHlch(31.61, 36.78, 359.59°)
OKLaboklab(42.51% 0.1123 -0.0002)
OKLCHoklch(42.51% 0.112 359.9)
XYZxyz(10.7791, 6.9160, 7.6033)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F4C #2F7D60
analogous
#7D2F73 #7D2F4C #7D392F
triadic
#7D2F4C #4C7D2F #2F4C7D
tetradic
#7D2F4C #737D2F #2F7D60 #392F7D
square
#7D2F4C #737D2F #2F7D60 #392F7D
split-complementary
#7D2F4C #2F7D39 #2F737D
monochromatic
#240E16 #511E31 #7D2F4C #A94067 #C46287

Accessibility & contrast

On white

8.81
#7D2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2F4C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F4C#FFFFFF#000000##FFFFFF
##7D2F4C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414D
Deuteranopia (green-blind)
#51504A
Tritanopia (blue-blind)
#87283A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2f4c;
/* rgb */ color: rgb(125, 47, 76);
/* oklch */ color: oklch(42.5% 0.112 359.9);
Tailwind
colors: {
  custom: {
    50: '#a66c7d',
    500: '#7d2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f4c;
$custom-light: #a66c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f4c",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 337.692,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.11225,
    "h": 359.9
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#7D2F4C
secondary
#5DAB8E
accent
#D5A553
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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