#7F183A#7F183A

#7F183A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.138 H 7.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7F183A
RGBrgb(127, 24, 58)
HSLhsl(340, 68%, 30%)
HSVhsv(340, 81%, 50%)
CMYKcmyk(0%, 81.1%, 54.3%, 50.2%)
CIE-LABlab(28.04, 44.98, 6.58)
CIE-LCHlch(28.04, 45.46, 8.32°)
OKLaboklab(39.76% 0.1372 0.017)
OKLCHoklch(39.76% 0.138 7.1)
XYZxyz(9.8437, 5.4722, 4.5401)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F183A #187F5D
analogous
#7F186E #7F183A #7F2918
triadic
#7F183A #3A7F18 #183A7F
tetradic
#7F183A #6E7F18 #187F5D #29187F
square
#7F183A #6E7F18 #187F5D #29187F
split-complementary
#7F183A #187F29 #186E7F
monochromatic
#1A050C #4C0E22 #7F183A #B22252 #D9386D

Accessibility & contrast

On white

10.03
#7F183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F183A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F183A#FFFFFF#000000##FFFFFF
##7F183A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353B
Deuteranopia (green-blind)
#4E4A38
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f183a;
/* rgb */ color: rgb(127, 24, 58);
/* oklch */ color: oklch(39.8% 0.138 7.1);
Tailwind
colors: {
  custom: {
    50: '#aa606f',
    500: '#7f183a',
    950: '#000000',
  },
}
SCSS
$custom: #7f183a;
$custom-light: #aa606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f183a",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 340.194,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39755,
    "c": 0.13825,
    "h": 7.1
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#7F183A
secondary
#3FB38D
accent
#EBB23D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F183A

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

Preview Lab → · Contrast checker → · Palette generator →

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