#7E2E50#7E2E50

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

Color values

HEX#7E2E50
RGBrgb(126, 46, 80)
HSLhsl(335, 47%, 34%)
HSVhsv(335, 63%, 49%)
CMYKcmyk(0%, 63.5%, 36.5%, 50.6%)
CIE-LABlab(31.74, 38.11, -2.67)
CIE-LCHlch(31.74, 38.21, 355.99°)
OKLaboklab(42.68% 0.1163 -0.0065)
OKLCHoklch(42.68% 0.116 356.8)
XYZxyz(11.0298, 6.9700, 8.3523)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E50 #2E7E5C
analogous
#7E2E78 #7E2E50 #7E342E
triadic
#7E2E50 #507E2E #2E507E
tetradic
#7E2E50 #787E2E #2E7E5C #342E7E
square
#7E2E50 #787E2E #2E7E5C #342E7E
split-complementary
#7E2E50 #2E7E34 #2E787E
monochromatic
#240D17 #511E34 #7E2E50 #AB3E6C #C5618C

Accessibility & contrast

On white

8.77
#7E2E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E50
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E50#FFFFFF#000000##FFFFFF
##7E2E501.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4151
Deuteranopia (green-blind)
#51504E
Tritanopia (blue-blind)
#88283B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2e50;
/* rgb */ color: rgb(126, 46, 80);
/* oklch */ color: oklch(42.7% 0.116 356.8);
Tailwind
colors: {
  custom: {
    50: '#a76b81',
    500: '#7e2e50',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e50;
$custom-light: #a76b81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e50",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 334.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.11648,
    "h": 356.8
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#7E2E50
secondary
#5CAC8A
accent
#D69E52
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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