#7E0F3B#7E0F3B

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

Color values

HEX#7E0F3B
RGBrgb(126, 15, 59)
HSLhsl(336, 79%, 28%)
HSVhsv(336, 88%, 49%)
CMYKcmyk(0%, 88.1%, 53.2%, 50.6%)
CIE-LABlab(27.00, 47.22, 4.40)
CIE-LCHlch(27.00, 47.42, 5.33°)
OKLaboklab(38.96% 0.1447 0.0116)
OKLCHoklch(38.96% 0.145 4.6)
XYZxyz(9.5653, 5.0944, 4.6165)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F3B #0F7E52
analogous
#7E0F72 #7E0F3B #7E1A0F
triadic
#7E0F3B #3B7E0F #0F3B7E
tetradic
#7E0F3B #727E0F #0F7E52 #1A0F7E
square
#7E0F3B #727E0F #0F7E52 #1A0F7E
split-complementary
#7E0F3B #0F7E1A #0F727E
monochromatic
#1B030D #470821 #7E0F3B #B51655 #E52370

Accessibility & contrast

On white

10.40
#7E0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E0F3B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F3B#FFFFFF#000000##FFFFFF
##7E0F3B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e0f3b;
/* rgb */ color: rgb(126, 15, 59);
/* oklch */ color: oklch(39.0% 0.145 4.6);
Tailwind
colors: {
  custom: {
    50: '#a95d70',
    500: '#7e0f3b',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f3b;
$custom-light: #a95d70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f3b",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 336.216,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.14514,
    "h": 4.6
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#7E0F3B
secondary
#34B582
accent
#F5A833
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E0F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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