#7E183F#7E183F

#7E183F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.139 H 3.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7E183F
RGBrgb(126, 24, 63)
HSLhsl(337, 68%, 29%)
HSVhsv(337, 81%, 49%)
CMYKcmyk(0%, 81%, 50%, 50.6%)
CIE-LABlab(27.98, 45.13, 3.09)
CIE-LCHlch(27.98, 45.24, 3.92°)
OKLaboklab(39.72% 0.1383 0.0084)
OKLCHoklch(39.72% 0.139 3.5)
XYZxyz(9.8289, 5.4491, 5.2359)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E183F #187E57
analogous
#7E1872 #7E183F #7E2418
triadic
#7E183F #3F7E18 #183F7E
tetradic
#7E183F #727E18 #187E57 #24187E
square
#7E183F #727E18 #187E57 #24187E
split-complementary
#7E183F #187E24 #18727E
monochromatic
#1A050D #4B0E25 #7E183F #B12259 #D93775

Accessibility & contrast

On white

10.05
#7E183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E183F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E183F#FFFFFF#000000##FFFFFF
##7E183F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313540
Deuteranopia (green-blind)
#4C493D
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e183f;
/* rgb */ color: rgb(126, 24, 63);
/* oklch */ color: oklch(39.7% 0.139 3.5);
Tailwind
colors: {
  custom: {
    50: '#a96073',
    500: '#7e183f',
    950: '#000000',
  },
}
SCSS
$custom: #7e183f;
$custom-light: #a96073;
$custom-dark: #000000;
JSON
{
  "hex": "#7e183f",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 337.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.13855,
    "h": 3.5
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#7E183F
secondary
#3FB286
accent
#EBA83D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E183F

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

Preview Lab → · Contrast checker → · Palette generator →

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