#7E2D4B#7E2D4B

#7E2D4B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.116 H 0.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7E2D4B
RGBrgb(126, 45, 75)
HSLhsl(338, 47%, 34%)
HSVhsv(338, 64%, 49%)
CMYKcmyk(0%, 64.3%, 40.5%, 50.6%)
CIE-LABlab(31.40, 37.98, 0.09)
CIE-LCHlch(31.40, 37.98, 0.14°)
OKLaboklab(42.37% 0.116 0.0007)
OKLCHoklch(42.37% 0.116 0.3)
XYZxyz(10.8132, 6.8216, 7.4025)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D4B #2D7E60
analogous
#7E2D73 #7E2D4B #7E372D
triadic
#7E2D4B #4B7E2D #2D4B7E
tetradic
#7E2D4B #737E2D #2D7E60 #372D7E
square
#7E2D4B #737E2D #2D7E60 #372D7E
split-complementary
#7E2D4B #2D7E37 #2D737E
monochromatic
#240D15 #511D30 #7E2D4B #AB3D66 #C65F85

Accessibility & contrast

On white

8.88
#7E2D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E2D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D4B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D4B#FFFFFF#000000##FFFFFF
##7E2D4B1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#515049
Tritanopia (blue-blind)
#882539
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2d4b;
/* rgb */ color: rgb(126, 45, 75);
/* oklch */ color: oklch(42.4% 0.116 0.3);
Tailwind
colors: {
  custom: {
    50: '#a76b7d',
    500: '#7e2d4b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d4b;
$custom-light: #a76b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d4b",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 337.778,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.11599,
    "h": 0.3
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#7E2D4B
secondary
#5AAC8E
accent
#D7A551
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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