#7E183B#7E183B

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

Color values

HEX#7E183B
RGBrgb(126, 24, 59)
HSLhsl(339, 68%, 29%)
HSVhsv(339, 81%, 49%)
CMYKcmyk(0%, 81%, 53.2%, 50.6%)
CIE-LABlab(27.86, 44.77, 5.62)
CIE-LCHlch(27.86, 45.12, 7.16°)
OKLaboklab(39.6% 0.1368 0.0147)
OKLCHoklch(39.6% 0.138 6.1)
XYZxyz(9.7211, 5.4060, 4.6684)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E183B #187E5B
analogous
#7E186E #7E183B #7E2818
triadic
#7E183B #3B7E18 #183B7E
tetradic
#7E183B #6E7E18 #187E5B #28187E
square
#7E183B #6E7E18 #187E5B #28187E
split-complementary
#7E183B #187E28 #186E7E
monochromatic
#1A050C #4B0E23 #7E183B #B12253 #D9376F

Accessibility & contrast

On white

10.09
#7E183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E183B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E183B#FFFFFF#000000##FFFFFF
##7E183B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353C
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e183b;
/* rgb */ color: rgb(126, 24, 59);
/* oklch */ color: oklch(39.6% 0.138 6.1);
Tailwind
colors: {
  custom: {
    50: '#a96070',
    500: '#7e183b',
    950: '#000000',
  },
}
SCSS
$custom: #7e183b;
$custom-light: #a96070;
$custom-dark: #000000;
JSON
{
  "hex": "#7e183b",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 339.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39595,
    "c": 0.13753,
    "h": 6.1
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#7E183B
secondary
#3FB28B
accent
#EBAF3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E183B

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

Preview Lab → · Contrast checker → · Palette generator →

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