#7E1833#7E1833

#7E1833 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.136 H 11.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7E1833
RGBrgb(126, 24, 51)
HSLhsl(344, 68%, 29%)
HSVhsv(344, 81%, 49%)
CMYKcmyk(0%, 81%, 59.5%, 50.6%)
CIE-LABlab(27.65, 44.12, 10.73)
CIE-LCHlch(27.65, 45.41, 13.67°)
OKLaboklab(39.37% 0.1335 0.0268)
OKLCHoklch(39.37% 0.136 11.3)
XYZxyz(9.5293, 5.3293, 3.6582)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1833 #187E63
analogous
#7E1866 #7E1833 #7E3018
triadic
#7E1833 #337E18 #18337E
tetradic
#7E1833 #667E18 #187E63 #30187E
square
#7E1833 #667E18 #187E63 #30187E
split-complementary
#7E1833 #187E30 #18667E
monochromatic
#1A050A #4B0E1E #7E1833 #B12248 #D93762

Accessibility & contrast

On white

10.17
#7E1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1833
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1833#FFFFFF#000000##FFFFFF
##7E18331.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343433
Deuteranopia (green-blind)
#4E4930
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1833;
/* rgb */ color: rgb(126, 24, 51);
/* oklch */ color: oklch(39.4% 0.136 11.3);
Tailwind
colors: {
  custom: {
    50: '#a9606a',
    500: '#7e1833',
    950: '#000000',
  },
}
SCSS
$custom: #7e1833;
$custom-light: #a9606a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1833",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 344.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.13614,
    "h": 11.3
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#7E1833
secondary
#3FB294
accent
#EBBD3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1833

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

Preview Lab → · Contrast checker → · Palette generator →

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