#7E0F38#7E0F38

#7E0F38 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.144 H 6.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7E0F38
RGBrgb(126, 15, 56)
HSLhsl(338, 79%, 28%)
HSVhsv(338, 88%, 49%)
CMYKcmyk(0%, 88.1%, 55.6%, 50.6%)
CIE-LABlab(26.92, 46.97, 6.32)
CIE-LCHlch(26.92, 47.39, 7.66°)
OKLaboklab(38.87% 0.1435 0.0163)
OKLCHoklch(38.87% 0.144 6.5)
XYZxyz(9.4897, 5.0642, 4.2184)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E0F38 #0F7E55
analogous
#7E0F6F #7E0F38 #7E1E0F
triadic
#7E0F38 #387E0F #0F387E
tetradic
#7E0F38 #6F7E0F #0F7E55 #1E0F7E
square
#7E0F38 #6F7E0F #0F7E55 #1E0F7E
split-complementary
#7E0F38 #0F7E1E #0F6F7E
monochromatic
#1B030C #470820 #7E0F38 #B51650 #E5236A

Accessibility & contrast

On white

10.43
#7E0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E0F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E0F38
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E0F38#FFFFFF#000000##FFFFFF
##7E0F381.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e0f38;
/* rgb */ color: rgb(126, 15, 56);
/* oklch */ color: oklch(38.9% 0.144 6.5);
Tailwind
colors: {
  custom: {
    50: '#a95d6e',
    500: '#7e0f38',
    950: '#000000',
  },
}
SCSS
$custom: #7e0f38;
$custom-light: #a95d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e0f38",
  "rgb": {
    "r": 126,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 337.838,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.14442,
    "h": 6.5
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#7E0F38
secondary
#34B585
accent
#F5AD33
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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