#7E2F4F#7E2F4F

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

Color values

HEX#7E2F4F
RGBrgb(126, 47, 79)
HSLhsl(336, 46%, 34%)
HSVhsv(336, 63%, 49%)
CMYKcmyk(0%, 62.7%, 37.3%, 50.6%)
CIE-LABlab(31.89, 37.50, -1.80)
CIE-LCHlch(31.89, 37.54, 357.25°)
OKLaboklab(42.77% 0.1144 -0.0043)
OKLCHoklch(42.77% 0.115 357.9)
XYZxyz(11.0326, 7.0344, 8.1724)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F4F #2F7E5E
analogous
#7E2F77 #7E2F4F #7E372F
triadic
#7E2F4F #4F7E2F #2F4F7E
tetradic
#7E2F4F #777E2F #2F7E5E #372F7E
square
#7E2F4F #777E2F #2F7E5E #372F7E
split-complementary
#7E2F4F #2F7E37 #2F777E
monochromatic
#250E17 #511E33 #7E2F4F #AB406B #C5638A

Accessibility & contrast

On white

8.73
#7E2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F4F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F4F#FFFFFF#000000##FFFFFF
##7E2F4F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4250
Deuteranopia (green-blind)
#51514D
Tritanopia (blue-blind)
#88283B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2f4f;
/* rgb */ color: rgb(126, 47, 79);
/* oklch */ color: oklch(42.8% 0.115 357.9);
Tailwind
colors: {
  custom: {
    50: '#a76c80',
    500: '#7e2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f4f;
$custom-light: #a76c80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f4f",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 335.696,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.11451,
    "h": 357.9
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#7E2F4F
secondary
#5DAC8C
accent
#D5A052
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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