#7D2F4B#7D2F4B

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

Color values

HEX#7D2F4B
RGBrgb(125, 47, 75)
HSLhsl(338, 45%, 34%)
HSVhsv(338, 62%, 49%)
CMYKcmyk(0%, 62.4%, 40%, 51%)
CIE-LABlab(31.58, 36.66, 0.34)
CIE-LCHlch(31.58, 36.66, 0.53°)
OKLaboklab(42.47% 0.1119 0.0013)
OKLCHoklch(42.47% 0.112 0.7)
XYZxyz(10.7446, 6.9022, 7.4217)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F4B #2F7D61
analogous
#7D2F72 #7D2F4B #7D3A2F
triadic
#7D2F4B #4B7D2F #2F4B7D
tetradic
#7D2F4B #727D2F #2F7D61 #3A2F7D
square
#7D2F4B #727D2F #2F7D61 #3A2F7D
split-complementary
#7D2F4B #2F7D3A #2F727D
monochromatic
#240E16 #511E30 #7D2F4B #A94066 #C46285

Accessibility & contrast

On white

8.82
#7D2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2F4B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F4B#FFFFFF#000000##FFFFFF
##7D2F4B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2f4b;
/* rgb */ color: rgb(125, 47, 75);
/* oklch */ color: oklch(42.5% 0.112 0.7);
Tailwind
colors: {
  custom: {
    50: '#a66c7d',
    500: '#7d2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f4b;
$custom-light: #a66c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f4b",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 338.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.11189,
    "h": 0.7
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#7D2F4B
secondary
#5DAB8F
accent
#D5A653
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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