#7D2F4F#7D2F4F

#7D2F4F is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.6% C 0.113 H 357.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7D2F4F
RGBrgb(125, 47, 79)
HSLhsl(335, 45%, 34%)
HSVhsv(335, 62%, 49%)
CMYKcmyk(0%, 62.4%, 36.8%, 51%)
CIE-LABlab(31.71, 37.16, -2.08)
CIE-LCHlch(31.71, 37.22, 356.80°)
OKLaboklab(42.61% 0.1134 -0.005)
OKLCHoklch(42.61% 0.113 357.5)
XYZxyz(10.8858, 6.9587, 8.1655)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F4F #2F7D5D
analogous
#7D2F76 #7D2F4F #7D362F
triadic
#7D2F4F #4F7D2F #2F4F7D
tetradic
#7D2F4F #767D2F #2F7D5D #362F7D
square
#7D2F4F #767D2F #2F7D5D #362F7D
split-complementary
#7D2F4F #2F7D36 #2F767D
monochromatic
#240E17 #511E33 #7D2F4F #A9406B #C4628A

Accessibility & contrast

On white

8.78
#7D2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D2F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F4F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F4F#FFFFFF#000000##FFFFFF
##7D2F4F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4150
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#87293B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2f4f;
/* rgb */ color: rgb(125, 47, 79);
/* oklch */ color: oklch(42.6% 0.113 357.5);
Tailwind
colors: {
  custom: {
    50: '#a66c80',
    500: '#7d2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f4f;
$custom-light: #a66c80;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f4f",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 335.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.11346,
    "h": 357.5
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#7D2F4F
secondary
#5DAB8B
accent
#D5A053
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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