#7E1333#7E1333

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

Color values

HEX#7E1333
RGBrgb(126, 19, 51)
HSLhsl(342, 74%, 28%)
HSVhsv(342, 85%, 49%)
CMYKcmyk(0%, 84.9%, 59.5%, 50.6%)
CIE-LABlab(27.14, 45.59, 10.02)
CIE-LCHlch(27.14, 46.68, 12.39°)
OKLaboklab(38.99% 0.1382 0.0251)
OKLCHoklch(38.99% 0.14 10.3)
XYZxyz(9.4356, 5.1418, 3.6270)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1333 #137E5E
analogous
#7E1368 #7E1333 #7E2813
triadic
#7E1333 #337E13 #13337E
tetradic
#7E1333 #687E13 #137E5E #28137E
square
#7E1333 #687E13 #137E5E #28137E
split-complementary
#7E1333 #137E28 #13687E
monochromatic
#1B040B #490B1D #7E1333 #B31B49 #DF2C62

Accessibility & contrast

On white

10.36
#7E1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1333
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1333#FFFFFF#000000##FFFFFF
##7E13331.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323233
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1333;
/* rgb */ color: rgb(126, 19, 51);
/* oklch */ color: oklch(39.0% 0.140 10.3);
Tailwind
colors: {
  custom: {
    50: '#aa5e6a',
    500: '#7e1333',
    950: '#000000',
  },
}
SCSS
$custom: #7e1333;
$custom-light: #aa5e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1333",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 342.056,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.14049,
    "h": 10.3
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#7E1333
secondary
#39B48F
accent
#F0B937
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1333

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

Preview Lab → · Contrast checker → · Palette generator →

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