#7E2E4B#7E2E4B

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

Color values

HEX#7E2E4B
RGBrgb(126, 46, 75)
HSLhsl(338, 47%, 34%)
HSVhsv(338, 63%, 49%)
CMYKcmyk(0%, 63.5%, 40.5%, 50.6%)
CIE-LABlab(31.58, 37.50, 0.35)
CIE-LCHlch(31.58, 37.50, 0.54°)
OKLaboklab(42.5% 0.1145 0.0014)
OKLCHoklch(42.5% 0.114 0.7)
XYZxyz(10.8519, 6.8988, 7.4154)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E4B #2E7E61
analogous
#7E2E73 #7E2E4B #7E392E
triadic
#7E2E4B #4B7E2E #2E4B7E
tetradic
#7E2E4B #737E2E #2E7E61 #392E7E
square
#7E2E4B #737E2E #2E7E61 #392E7E
split-complementary
#7E2E4B #2E7E39 #2E737E
monochromatic
#240D16 #511E30 #7E2E4B #AB3E66 #C56185

Accessibility & contrast

On white

8.83
#7E2E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E4B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E4B#FFFFFF#000000##FFFFFF
##7E2E4B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#882639
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2e4b;
/* rgb */ color: rgb(126, 46, 75);
/* oklch */ color: oklch(42.5% 0.114 0.7);
Tailwind
colors: {
  custom: {
    50: '#a76b7d',
    500: '#7e2e4b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e4b;
$custom-light: #a76b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e4b",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 338.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.11449,
    "h": 0.7
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#7E2E4B
secondary
#5CAC8F
accent
#D6A652
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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