#7E1945#7E1945

#7E1945 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.139 H 359.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7E1945
RGBrgb(126, 25, 69)
HSLhsl(334, 67%, 30%)
HSVhsv(334, 80%, 49%)
CMYKcmyk(0%, 80.2%, 45.2%, 50.6%)
CIE-LABlab(28.28, 45.40, -0.50)
CIE-LCHlch(28.28, 45.40, 359.37°)
OKLaboklab(40% 0.1395 -0.0008)
OKLCHoklch(40% 0.139 359.7)
XYZxyz(10.0268, 5.5619, 6.1746)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1945 #197E52
analogous
#7E1978 #7E1945 #7E1F19
triadic
#7E1945 #457E19 #19457E
tetradic
#7E1945 #787E19 #197E52 #1F197E
square
#7E1945 #787E19 #197E52 #1F197E
split-complementary
#7E1945 #197E1F #19787E
monochromatic
#1A050E #4B0F29 #7E1945 #B12361 #D83A7F

Accessibility & contrast

On white

9.94
#7E1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1945
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1945#FFFFFF#000000##FFFFFF
##7E19451.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#89052D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1945;
/* rgb */ color: rgb(126, 25, 69);
/* oklch */ color: oklch(40.0% 0.139 359.7);
Tailwind
colors: {
  custom: {
    50: '#a86178',
    500: '#7e1945',
    950: '#000000',
  },
}
SCSS
$custom: #7e1945;
$custom-light: #a86178;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1945",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 333.861,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40002,
    "c": 0.13948,
    "h": 359.7
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#7E1945
secondary
#41B281
accent
#EA9F3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1945

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

Preview Lab → · Contrast checker → · Palette generator →

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