#7D2E4B#7D2E4B

#7D2E4B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.113 H 0.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2E4B
RGBrgb(125, 46, 75)
HSLhsl(338, 46%, 34%)
HSVhsv(338, 63%, 49%)
CMYKcmyk(0%, 63.2%, 40%, 51%)
CIE-LABlab(31.40, 37.15, 0.08)
CIE-LCHlch(31.40, 37.15, 0.12°)
OKLaboklab(42.34% 0.1134 0.0007)
OKLCHoklch(42.34% 0.113 0.3)
XYZxyz(10.7051, 6.8232, 7.4085)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E4B #2E7D60
analogous
#7D2E72 #7D2E4B #7D382E
triadic
#7D2E4B #4B7D2E #2E4B7D
tetradic
#7D2E4B #727D2E #2E7D60 #382E7D
square
#7D2E4B #727D2E #2E7D60 #382E7D
split-complementary
#7D2E4B #2E7D38 #2E727D
monochromatic
#240D15 #501E30 #7D2E4B #AA3E66 #C56185

Accessibility & contrast

On white

8.88
#7D2E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E4B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E4B#FFFFFF#000000##FFFFFF
##7D2E4B1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#514F49
Tritanopia (blue-blind)
#872639
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2e4b;
/* rgb */ color: rgb(125, 46, 75);
/* oklch */ color: oklch(42.3% 0.113 0.3);
Tailwind
colors: {
  custom: {
    50: '#a66b7d',
    500: '#7d2e4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e4b;
$custom-light: #a66b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e4b",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 337.975,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.11341,
    "h": 0.3
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#7D2E4B
secondary
#5BAB8E
accent
#D6A552
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D2E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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