#7D2F52#7D2F52

#7D2F52 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.115 H 355.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7D2F52
RGBrgb(125, 47, 82)
HSLhsl(333, 45%, 34%)
HSVhsv(333, 62%, 49%)
CMYKcmyk(0%, 62.4%, 34.4%, 51%)
CIE-LABlab(31.81, 37.55, -3.88)
CIE-LCHlch(31.81, 37.75, 354.10°)
OKLaboklab(42.72% 0.1144 -0.0097)
OKLCHoklch(42.72% 0.115 355.1)
XYZxyz(10.9975, 7.0033, 8.7536)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F52 #2F7D5A
analogous
#7D2F79 #7D2F52 #7D332F
triadic
#7D2F52 #527D2F #2F527D
tetradic
#7D2F52 #797D2F #2F7D5A #332F7D
square
#7D2F52 #797D2F #2F7D5A #332F7D
split-complementary
#7D2F52 #2F7D33 #2F797D
monochromatic
#240E18 #511E35 #7D2F52 #A9406F #C4628E

Accessibility & contrast

On white

8.75
#7D2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F52
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F52#FFFFFF#000000##FFFFFF
##7D2F521.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#862A3D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2f52;
/* rgb */ color: rgb(125, 47, 82);
/* oklch */ color: oklch(42.7% 0.115 355.1);
Tailwind
colors: {
  custom: {
    50: '#a66c82',
    500: '#7d2f52',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f52;
$custom-light: #a66c82;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f52",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 333.077,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.11481,
    "h": 355.1
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#7D2F52
secondary
#5DAB88
accent
#D59B53
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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