#7D2E52#7D2E52

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

Color values

HEX#7D2E52
RGBrgb(125, 46, 82)
HSLhsl(333, 46%, 34%)
HSVhsv(333, 63%, 49%)
CMYKcmyk(0%, 63.2%, 34.4%, 51%)
CIE-LABlab(31.63, 38.03, -4.15)
CIE-LCHlch(31.63, 38.26, 353.78°)
OKLaboklab(42.59% 0.1159 -0.0105)
OKLCHoklch(42.59% 0.116 354.8)
XYZxyz(10.9580, 6.9243, 8.7404)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E52 #2E7D59
analogous
#7D2E79 #7D2E52 #7D312E
triadic
#7D2E52 #527D2E #2E527D
tetradic
#7D2E52 #797D2E #2E7D59 #312E7D
square
#7D2E52 #797D2E #2E7D59 #312E7D
split-complementary
#7D2E52 #2E7D31 #2E797D
monochromatic
#240D17 #501E35 #7D2E52 #AA3E6F #C5618E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2E52#FFFFFF#000000##FFFFFF
##7D2E521.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)
#3A4153
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#86293C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2e52;
/* rgb */ color: rgb(125, 46, 82);
/* oklch */ color: oklch(42.6% 0.116 354.8);
Tailwind
colors: {
  custom: {
    50: '#a66b82',
    500: '#7d2e52',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e52;
$custom-light: #a66b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e52",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 332.658,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.11639,
    "h": 354.8
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#7D2E52
secondary
#5BAB87
accent
#D69A52
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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