#7E1843#7E1843

#7E1843 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 0.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7E1843
RGBrgb(126, 24, 67)
HSLhsl(335, 68%, 29%)
HSVhsv(335, 81%, 49%)
CMYKcmyk(0%, 81%, 46.8%, 50.6%)
CIE-LABlab(28.10, 45.51, 0.59)
CIE-LCHlch(28.10, 45.51, 0.74°)
OKLaboklab(39.85% 0.1398 0.002)
OKLCHoklch(39.85% 0.14 0.8)
XYZxyz(9.9447, 5.4955, 5.8462)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1843 #187E53
analogous
#7E1876 #7E1843 #7E2018
triadic
#7E1843 #437E18 #18437E
tetradic
#7E1843 #767E18 #187E53 #20187E
square
#7E1843 #767E18 #187E53 #20187E
split-complementary
#7E1843 #187E20 #18767E
monochromatic
#1A050E #4B0E28 #7E1843 #B1225E #D9377C

Accessibility & contrast

On white

10.01
#7E1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1843
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1843#FFFFFF#000000##FFFFFF
##7E18431.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303644
Deuteranopia (green-blind)
#4C4941
Tritanopia (blue-blind)
#89012B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1843;
/* rgb */ color: rgb(126, 24, 67);
/* oklch */ color: oklch(39.9% 0.140 0.8);
Tailwind
colors: {
  custom: {
    50: '#a86176',
    500: '#7e1843',
    950: '#000000',
  },
}
SCSS
$custom: #7e1843;
$custom-light: #a86176;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1843",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 334.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.1398,
    "h": 0.8
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#7E1843
secondary
#3FB282
accent
#EBA23D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7E1843

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

Preview Lab → · Contrast checker → · Palette generator →

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