#7E183D#7E183D

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

Color values

HEX#7E183D
RGBrgb(126, 24, 61)
HSLhsl(338, 68%, 29%)
HSVhsv(338, 81%, 49%)
CMYKcmyk(0%, 81%, 51.6%, 50.6%)
CIE-LABlab(27.92, 44.95, 4.36)
CIE-LCHlch(27.92, 45.16, 5.54°)
OKLaboklab(39.66% 0.1375 0.0115)
OKLCHoklch(39.66% 0.138 4.8)
XYZxyz(9.7740, 5.4272, 4.9468)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E183D #187E59
analogous
#7E1870 #7E183D #7E2618
triadic
#7E183D #3D7E18 #183D7E
tetradic
#7E183D #707E18 #187E59 #26187E
square
#7E183D #707E18 #187E59 #26187E
split-complementary
#7E183D #187E26 #18707E
monochromatic
#1A050C #4B0E24 #7E183D #B12256 #D93772

Accessibility & contrast

On white

10.07
#7E183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E183D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E183D#FFFFFF#000000##FFFFFF
##7E183D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e183d;
/* rgb */ color: rgb(126, 24, 61);
/* oklch */ color: oklch(39.7% 0.138 4.8);
Tailwind
colors: {
  custom: {
    50: '#a96072',
    500: '#7e183d',
    950: '#000000',
  },
}
SCSS
$custom: #7e183d;
$custom-light: #a96072;
$custom-dark: #000000;
JSON
{
  "hex": "#7e183d",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 338.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.13802,
    "h": 4.8
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#7E183D
secondary
#3FB289
accent
#EBAC3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E183D

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

Preview Lab → · Contrast checker → · Palette generator →

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