#7D2F58#7D2F58

#7D2F58 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 43.0% C 0.118 H 350.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7D2F58
RGBrgb(125, 47, 88)
HSLhsl(328, 45%, 34%)
HSVhsv(328, 62%, 49%)
CMYKcmyk(0%, 62.4%, 29.6%, 51%)
CIE-LABlab(32.03, 38.36, -7.45)
CIE-LCHlch(32.03, 39.08, 349.01°)
OKLaboklab(42.95% 0.1164 -0.0193)
OKLCHoklch(42.95% 0.118 350.6)
XYZxyz(11.2359, 7.0987, 10.0091)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F58 #2F7D54
analogous
#7B2F7D #7D2F58 #7D2F31
triadic
#7D2F58 #587D2F #2F587D
tetradic
#7D2F58 #7D7B2F #2F7D54 #2F317D
square
#7D2F58 #7D7B2F #2F7D54 #2F317D
split-complementary
#7D2F58 #317D2F #2F7D7B
monochromatic
#240E19 #511E39 #7D2F58 #A94077 #C46296

Accessibility & contrast

On white

8.68
#7D2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F58
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F58#FFFFFF#000000##FFFFFF
##7D2F581.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394359
Deuteranopia (green-blind)
#4F5056
Tritanopia (blue-blind)
#862C3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2f58;
/* rgb */ color: rgb(125, 47, 88);
/* oklch */ color: oklch(43.0% 0.118 350.6);
Tailwind
colors: {
  custom: {
    50: '#a56c87',
    500: '#7d2f58',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f58;
$custom-light: #a56c87;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f58",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 328.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.11797,
    "h": 350.6
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#7D2F58
secondary
#5DAB82
accent
#D59153
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7D2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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