#7E2F4D#7E2F4D

#7E2F4D is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.114 H 359.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7E2F4D
RGBrgb(126, 47, 77)
HSLhsl(337, 46%, 34%)
HSVhsv(337, 63%, 49%)
CMYKcmyk(0%, 62.7%, 38.9%, 50.6%)
CIE-LABlab(31.82, 37.25, -0.60)
CIE-LCHlch(31.82, 37.26, 359.08°)
OKLaboklab(42.7% 0.1137 -0.0011)
OKLCHoklch(42.7% 0.114 359.4)
XYZxyz(10.9609, 7.0057, 7.7947)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F4D #2F7E60
analogous
#7E2F75 #7E2F4D #7E392F
triadic
#7E2F4D #4D7E2F #2F4D7E
tetradic
#7E2F4D #757E2F #2F7E60 #392F7E
square
#7E2F4D #757E2F #2F7E60 #392F7E
split-complementary
#7E2F4D #2F7E39 #2F757E
monochromatic
#250E17 #511E32 #7E2F4D #AB4068 #C56388

Accessibility & contrast

On white

8.75
#7E2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F4D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F4D#FFFFFF#000000##FFFFFF
##7E2F4D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#52504B
Tritanopia (blue-blind)
#88283B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2f4d;
/* rgb */ color: rgb(126, 47, 77);
/* oklch */ color: oklch(42.7% 0.114 359.4);
Tailwind
colors: {
  custom: {
    50: '#a76c7e',
    500: '#7e2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f4d;
$custom-light: #a76c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f4d",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 337.215,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.11371,
    "h": 359.4
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#7E2F4D
secondary
#5DAC8E
accent
#D5A452
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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