#7E1335#7E1335

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

Color values

HEX#7E1335
RGBrgb(126, 19, 53)
HSLhsl(341, 74%, 28%)
HSVhsv(341, 85%, 49%)
CMYKcmyk(0%, 84.9%, 57.9%, 50.6%)
CIE-LABlab(27.19, 45.74, 8.73)
CIE-LCHlch(27.19, 46.57, 10.81°)
OKLaboklab(39.05% 0.1391 0.0221)
OKLCHoklch(39.05% 0.141 9)
XYZxyz(9.4806, 5.1598, 3.8642)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1335 #137E5C
analogous
#7E136A #7E1335 #7E2713
triadic
#7E1335 #357E13 #13357E
tetradic
#7E1335 #6A7E13 #137E5C #27137E
square
#7E1335 #6A7E13 #137E5C #27137E
split-complementary
#7E1335 #137E27 #136A7E
monochromatic
#1B040B #490B1F #7E1335 #B31B4B #DF2C65

Accessibility & contrast

On white

10.34
#7E1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1335
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1335#FFFFFF#000000##FFFFFF
##7E13351.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323336
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1335;
/* rgb */ color: rgb(126, 19, 53);
/* oklch */ color: oklch(39.0% 0.141 9.0);
Tailwind
colors: {
  custom: {
    50: '#a95e6b',
    500: '#7e1335',
    950: '#000000',
  },
}
SCSS
$custom: #7e1335;
$custom-light: #a95e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1335",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 340.935,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.1408,
    "h": 9
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#7E1335
secondary
#39B48D
accent
#F0B637
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1335

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

Preview Lab → · Contrast checker → · Palette generator →

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