#7E1338#7E1338

#7E1338 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.141 H 7.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1338
RGBrgb(126, 19, 56)
HSLhsl(339, 74%, 28%)
HSVhsv(339, 85%, 49%)
CMYKcmyk(0%, 84.9%, 55.6%, 50.6%)
CIE-LABlab(27.26, 45.98, 6.81)
CIE-LCHlch(27.26, 46.48, 8.42°)
OKLaboklab(39.13% 0.1403 0.0175)
OKLCHoklch(39.13% 0.141 7.1)
XYZxyz(9.5518, 5.1883, 4.2391)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1338 #137E59
analogous
#7E136D #7E1338 #7E2313
triadic
#7E1338 #387E13 #13387E
tetradic
#7E1338 #6D7E13 #137E59 #23137E
square
#7E1338 #6D7E13 #137E59 #23137E
split-complementary
#7E1338 #137E23 #136D7E
monochromatic
#1B040C #490B20 #7E1338 #B31B50 #DF2C6A

Accessibility & contrast

On white

10.31
#7E1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1338
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1338#FFFFFF#000000##FFFFFF
##7E13381.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1338;
/* rgb */ color: rgb(126, 19, 56);
/* oklch */ color: oklch(39.1% 0.141 7.1);
Tailwind
colors: {
  custom: {
    50: '#a95e6e',
    500: '#7e1338',
    950: '#000000',
  },
}
SCSS
$custom: #7e1338;
$custom-light: #a95e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1338",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 339.252,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.14136,
    "h": 7.1
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#7E1338
secondary
#39B489
accent
#F0B037
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1338

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

Preview Lab → · Contrast checker → · Palette generator →

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