#7E183C#7E183C

#7E183C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.138 H 5.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E183C
RGBrgb(126, 24, 60)
HSLhsl(339, 68%, 29%)
HSVhsv(339, 81%, 49%)
CMYKcmyk(0%, 81%, 52.4%, 50.6%)
CIE-LABlab(27.89, 44.86, 4.99)
CIE-LCHlch(27.89, 45.13, 6.35°)
OKLaboklab(39.63% 0.1371 0.0131)
OKLCHoklch(39.63% 0.138 5.5)
XYZxyz(9.7473, 5.4165, 4.8063)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E183C #187E5A
analogous
#7E186F #7E183C #7E2718
triadic
#7E183C #3C7E18 #183C7E
tetradic
#7E183C #6F7E18 #187E5A #27187E
square
#7E183C #6F7E18 #187E5A #27187E
split-complementary
#7E183C #187E27 #186F7E
monochromatic
#1A050C #4B0E24 #7E183C #B12254 #D93770

Accessibility & contrast

On white

10.08
#7E183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E183C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E183C#FFFFFF#000000##FFFFFF
##7E183C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353D
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e183c;
/* rgb */ color: rgb(126, 24, 60);
/* oklch */ color: oklch(39.6% 0.138 5.5);
Tailwind
colors: {
  custom: {
    50: '#a96071',
    500: '#7e183c',
    950: '#000000',
  },
}
SCSS
$custom: #7e183c;
$custom-light: #a96071;
$custom-dark: #000000;
JSON
{
  "hex": "#7e183c",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 338.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.13776,
    "h": 5.5
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#7E183C
secondary
#3FB28A
accent
#EBAD3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E183C

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

Preview Lab → · Contrast checker → · Palette generator →

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