#7E0F3C#7E0F3C

#7E0F3C is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.145 H 4.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7E0F3C
RGBrgb(126, 15, 60)
HSLhsl(336, 79%, 28%)
HSVhsv(336, 88%, 49%)
CMYKcmyk(0%, 88.1%, 52.4%, 50.6%)
CIE-LABlab(27.03, 47.30, 3.76)
CIE-LCHlch(27.03, 47.45, 4.55°)
OKLaboklab(39% 0.1451 0.01)
OKLCHoklch(39% 0.145 4)
XYZxyz(9.5915, 5.1049, 4.7544)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F3C #0F7E51
analogous
#7E0F73 #7E0F3C #7E1A0F
triadic
#7E0F3C #3C7E0F #0F3C7E
tetradic
#7E0F3C #737E0F #0F7E51 #1A0F7E
square
#7E0F3C #737E0F #0F7E51 #1A0F7E
split-complementary
#7E0F3C #0F7E1A #0F737E
monochromatic
#1B030D #470822 #7E0F3C #B51656 #E52371

Accessibility & contrast

On white

10.39
#7E0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E0F3C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F3C#FFFFFF#000000##FFFFFF
##7E0F3C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323D
Deuteranopia (green-blind)
#4B4739
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e0f3c;
/* rgb */ color: rgb(126, 15, 60);
/* oklch */ color: oklch(39.0% 0.145 4.0);
Tailwind
colors: {
  custom: {
    50: '#a95d71',
    500: '#7e0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f3c;
$custom-light: #a95d71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f3c",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 335.676,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.14541,
    "h": 4
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#7E0F3C
secondary
#34B581
accent
#F5A633
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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