#7E2D4F#7E2D4F

#7E2D4F is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.118 H 357.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7E2D4F
RGBrgb(126, 45, 79)
HSLhsl(335, 47%, 34%)
HSVhsv(335, 64%, 49%)
CMYKcmyk(0%, 64.3%, 37.3%, 50.6%)
CIE-LABlab(31.53, 38.46, -2.33)
CIE-LCHlch(31.53, 38.54, 356.53°)
OKLaboklab(42.51% 0.1174 -0.0056)
OKLCHoklch(42.51% 0.118 357.3)
XYZxyz(10.9545, 6.8781, 8.1463)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D4F #2D7E5C
analogous
#7E2D77 #7E2D4F #7E332D
triadic
#7E2D4F #4F7E2D #2D4F7E
tetradic
#7E2D4F #777E2D #2D7E5C #332D7E
square
#7E2D4F #777E2D #2D7E5C #332D7E
split-complementary
#7E2D4F #2D7E33 #2D777E
monochromatic
#240D16 #511D33 #7E2D4F #AB3D6B #C65F8A

Accessibility & contrast

On white

8.84
#7E2D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D4F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D4F#FFFFFF#000000##FFFFFF
##7E2D4F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#88263A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2d4f;
/* rgb */ color: rgb(126, 45, 79);
/* oklch */ color: oklch(42.5% 0.118 357.3);
Tailwind
colors: {
  custom: {
    50: '#a76b80',
    500: '#7e2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d4f;
$custom-light: #a76b80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d4f",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 334.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.11757,
    "h": 357.3
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#7E2D4F
secondary
#5AAC8A
accent
#D79F51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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