#7E2D50#7E2D50

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

Color values

HEX#7E2D50
RGBrgb(126, 45, 80)
HSLhsl(334, 47%, 34%)
HSVhsv(334, 64%, 49%)
CMYKcmyk(0%, 64.3%, 36.5%, 50.6%)
CIE-LABlab(31.56, 38.59, -2.93)
CIE-LCHlch(31.56, 38.70, 355.65°)
OKLaboklab(42.55% 0.1178 -0.0072)
OKLCHoklch(42.55% 0.118 356.5)
XYZxyz(10.9912, 6.8928, 8.3395)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D50 #2D7E5B
analogous
#7E2D78 #7E2D50 #7E322D
triadic
#7E2D50 #507E2D #2D507E
tetradic
#7E2D50 #787E2D #2D7E5B #322D7E
square
#7E2D50 #787E2D #2D7E5B #322D7E
split-complementary
#7E2D50 #2D7E32 #2D787E
monochromatic
#240D17 #511D33 #7E2D50 #AB3D6D #C65F8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2D50#FFFFFF#000000##FFFFFF
##7E2D501.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)
#3A4151
Deuteranopia (green-blind)
#50504E
Tritanopia (blue-blind)
#88273B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2d50;
/* rgb */ color: rgb(126, 45, 80);
/* oklch */ color: oklch(42.5% 0.118 356.5);
Tailwind
colors: {
  custom: {
    50: '#a76b81',
    500: '#7e2d50',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d50;
$custom-light: #a76b81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d50",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 334.074,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.11801,
    "h": 356.5
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#7E2D50
secondary
#5AAC89
accent
#D79D51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2D50

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

Preview Lab → · Contrast checker → · Palette generator →

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