#7E2F46#7E2F46

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

Color values

HEX#7E2F46
RGBrgb(126, 47, 70)
HSLhsl(343, 46%, 34%)
HSVhsv(343, 63%, 49%)
CMYKcmyk(0%, 62.7%, 44.4%, 50.6%)
CIE-LABlab(31.61, 36.43, 3.66)
CIE-LCHlch(31.61, 36.61, 5.74°)
OKLaboklab(42.48% 0.111 0.0098)
OKLCHoklch(42.48% 0.111 5.1)
XYZxyz(10.7269, 6.9121, 6.5624)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F46 #2F7E67
analogous
#7E2F6E #7E2F46 #7E402F
triadic
#7E2F46 #467E2F #2F467E
tetradic
#7E2F46 #6E7E2F #2F7E67 #402F7E
square
#7E2F46 #6E7E2F #2F7E67 #402F7E
split-complementary
#7E2F46 #2F7E40 #2F6E7E
monochromatic
#250E14 #511E2D #7E2F46 #AB405F #C5637F

Accessibility & contrast

On white

8.82
#7E2F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F46
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F46#FFFFFF#000000##FFFFFF
##7E2F461.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4147
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#892638
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2f46;
/* rgb */ color: rgb(126, 47, 70);
/* oklch */ color: oklch(42.5% 0.111 5.1);
Tailwind
colors: {
  custom: {
    50: '#a76c79',
    500: '#7e2f46',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f46;
$custom-light: #a76c79;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f46",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 342.532,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.11146,
    "h": 5.1
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#7E2F46
secondary
#5DAC95
accent
#D5AF52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2F46

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

Preview Lab → · Contrast checker → · Palette generator →

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