#7E2846#7E2846

#7E2846 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.122 H 2.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E2846
RGBrgb(126, 40, 70)
HSLhsl(339, 52%, 33%)
HSVhsv(339, 68%, 49%)
CMYKcmyk(0%, 68.3%, 44.4%, 50.6%)
CIE-LABlab(30.39, 39.71, 1.92)
CIE-LCHlch(30.39, 39.76, 2.76°)
OKLaboklab(41.57% 0.1214 0.0054)
OKLCHoklch(41.57% 0.122 2.5)
XYZxyz(10.4692, 6.3967, 6.4765)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2846 #287E60
analogous
#7E2871 #7E2846 #7E3528
triadic
#7E2846 #467E28 #28467E
tetradic
#7E2846 #717E28 #287E60 #35287E
square
#7E2846 #717E28 #287E60 #35287E
split-complementary
#7E2846 #287E35 #28717E
monochromatic
#210B12 #50192C #7E2846 #AC3760 #CA577F

Accessibility & contrast

On white

9.21
#7E2846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2846
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2846#FFFFFF#000000##FFFFFF
##7E28461.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D47
Deuteranopia (green-blind)
#504E44
Tritanopia (blue-blind)
#891D34
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2846;
/* rgb */ color: rgb(126, 40, 70);
/* oklch */ color: oklch(41.6% 0.122 2.5);
Tailwind
colors: {
  custom: {
    50: '#a76879',
    500: '#7e2846',
    950: '#000000',
  },
}
SCSS
$custom: #7e2846;
$custom-light: #a76879;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2846",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 339.07,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.12151,
    "h": 2.5
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#7E2846
secondary
#53AF8F
accent
#DBA94D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2846

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

Preview Lab → · Contrast checker → · Palette generator →

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