#7E2045#7E2045

#7E2045 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.132 H 1.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7E2045
RGBrgb(126, 32, 69)
HSLhsl(336, 59%, 31%)
HSVhsv(336, 75%, 49%)
CMYKcmyk(0%, 74.6%, 45.2%, 50.6%)
CIE-LABlab(29.16, 42.93, 0.79)
CIE-LCHlch(29.16, 42.93, 1.05°)
OKLaboklab(40.65% 0.1316 0.0025)
OKLCHoklch(40.65% 0.132 1.1)
XYZxyz(10.1956, 5.8996, 6.2309)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2045 #207E59
analogous
#7E2074 #7E2045 #7E2A20
triadic
#7E2045 #457E20 #20457E
tetradic
#7E2045 #747E20 #207E59 #2A207E
square
#7E2045 #747E20 #207E59 #2A207E
split-complementary
#7E2045 #207E2A #20747E
monochromatic
#1C0710 #4D142A #7E2045 #AF2C60 #D0487E

Accessibility & contrast

On white

9.63
#7E2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2045
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2045#FFFFFF#000000##FFFFFF
##7E20451.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#4E4B43
Tritanopia (blue-blind)
#891230
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2045;
/* rgb */ color: rgb(126, 32, 69);
/* oklch */ color: oklch(40.6% 0.132 1.1);
Tailwind
colors: {
  custom: {
    50: '#a86478',
    500: '#7e2045',
    950: '#000000',
  },
}
SCSS
$custom: #7e2045;
$custom-light: #a86478;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2045",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 336.383,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.1316,
    "h": 1.1
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#7E2045
secondary
#49B188
accent
#E3A545
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2045

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

Preview Lab → · Contrast checker → · Palette generator →

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