#7E1933#7E1933

#7E1933 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.135 H 11.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7E1933
RGBrgb(126, 25, 51)
HSLhsl(345, 67%, 30%)
HSVhsv(345, 80%, 49%)
CMYKcmyk(0%, 80.2%, 59.5%, 50.6%)
CIE-LABlab(27.77, 43.80, 10.88)
CIE-LCHlch(27.77, 45.13, 13.96°)
OKLaboklab(39.46% 0.1324 0.0272)
OKLCHoklch(39.46% 0.135 11.6)
XYZxyz(9.5503, 5.3713, 3.6652)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1933 #197E64
analogous
#7E1966 #7E1933 #7E3119
triadic
#7E1933 #337E19 #19337E
tetradic
#7E1933 #667E19 #197E64 #31197E
square
#7E1933 #667E19 #197E64 #31197E
split-complementary
#7E1933 #197E31 #19667E
monochromatic
#1A050A #4B0F1E #7E1933 #B12348 #D83A62

Accessibility & contrast

On white

10.13
#7E1933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1933
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1933#FFFFFF#000000##FFFFFF
##7E19331.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353433
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1933;
/* rgb */ color: rgb(126, 25, 51);
/* oklch */ color: oklch(39.5% 0.135 11.6);
Tailwind
colors: {
  custom: {
    50: '#a9606a',
    500: '#7e1933',
    950: '#000000',
  },
}
SCSS
$custom: #7e1933;
$custom-light: #a9606a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1933",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 344.554,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.1352,
    "h": 11.6
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#7E1933
secondary
#41B295
accent
#EABE3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1933

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

Preview Lab → · Contrast checker → · Palette generator →

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