#7D2E58#7D2E58

#7D2E58 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.120 H 350.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7D2E58
RGBrgb(125, 46, 88)
HSLhsl(328, 46%, 34%)
HSVhsv(328, 63%, 49%)
CMYKcmyk(0%, 63.2%, 29.6%, 51%)
CIE-LABlab(31.85, 38.85, -7.72)
CIE-LCHlch(31.85, 39.61, 348.76°)
OKLaboklab(42.82% 0.1179 -0.0201)
OKLCHoklch(42.82% 0.12 350.3)
XYZxyz(11.1964, 7.0197, 9.9959)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E58 #2E7D53
analogous
#7A2E7D #7D2E58 #7D2E30
triadic
#7D2E58 #587D2E #2E587D
tetradic
#7D2E58 #7D7A2E #2E7D53 #2E307D
square
#7D2E58 #7D7A2E #2E7D53 #2E307D
split-complementary
#7D2E58 #307D2E #2E7D7A
monochromatic
#240D19 #501E39 #7D2E58 #AA3E77 #C56196

Accessibility & contrast

On white

8.74
#7D2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2E58
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E58#FFFFFF#000000##FFFFFF
##7D2E581.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#862B3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2e58;
/* rgb */ color: rgb(125, 46, 88);
/* oklch */ color: oklch(42.8% 0.120 350.3);
Tailwind
colors: {
  custom: {
    50: '#a66b87',
    500: '#7d2e58',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e58;
$custom-light: #a66b87;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e58",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 328.101,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.11956,
    "h": 350.3
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#7D2E58
secondary
#5BAB81
accent
#D69052
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7D2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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