#7E1845#7E1845

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

Color values

HEX#7E1845
RGBrgb(126, 24, 69)
HSLhsl(334, 68%, 29%)
HSVhsv(334, 81%, 49%)
CMYKcmyk(0%, 81%, 45.2%, 50.6%)
CIE-LABlab(28.17, 45.71, -0.66)
CIE-LCHlch(28.17, 45.72, 359.17°)
OKLaboklab(39.92% 0.1405 -0.0012)
OKLCHoklch(39.92% 0.141 359.5)
XYZxyz(10.0058, 5.5199, 6.1676)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1845 #187E51
analogous
#7E1878 #7E1845 #7E1E18
triadic
#7E1845 #457E18 #18457E
tetradic
#7E1845 #787E18 #187E51 #1E187E
square
#7E1845 #787E18 #187E51 #1E187E
split-complementary
#7E1845 #187E1E #18787E
monochromatic
#1A050E #4B0E29 #7E1845 #B12261 #D9377F

Accessibility & contrast

On white

9.98
#7E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1845
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1845#FFFFFF#000000##FFFFFF
##7E18451.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#89032C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1845;
/* rgb */ color: rgb(126, 24, 69);
/* oklch */ color: oklch(39.9% 0.141 359.5);
Tailwind
colors: {
  custom: {
    50: '#a86178',
    500: '#7e1845',
    950: '#000000',
  },
}
SCSS
$custom: #7e1845;
$custom-light: #a86178;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1845",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 333.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.14051,
    "h": 359.5
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#7E1845
secondary
#3FB280
accent
#EB9E3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1845

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

Preview Lab → · Contrast checker → · Palette generator →

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