#7F113A#7F113A

#7F113A is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.144 H 5.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7F113A
RGBrgb(127, 17, 58)
HSLhsl(338, 76%, 28%)
HSVhsv(338, 87%, 50%)
CMYKcmyk(0%, 86.6%, 54.3%, 50.2%)
CIE-LABlab(27.35, 46.94, 5.61)
CIE-LCHlch(27.35, 47.27, 6.81°)
OKLaboklab(39.25% 0.1435 0.0146)
OKLCHoklch(39.25% 0.144 5.8)
XYZxyz(9.7175, 5.2198, 4.4980)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F113A #117F56
analogous
#7F1171 #7F113A #7F1F11
triadic
#7F113A #3A7F11 #113A7F
tetradic
#7F113A #717F11 #117F56 #1F117F
square
#7F113A #717F11 #117F56 #1F117F
split-complementary
#7F113A #117F1F #11717F
monochromatic
#1B040C #490A21 #7F113A #B51853 #E2286E

Accessibility & contrast

On white

10.28
#7F113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F113A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F113A#FFFFFF#000000##FFFFFF
##7F113A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333B
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f113a;
/* rgb */ color: rgb(127, 17, 58);
/* oklch */ color: oklch(39.2% 0.144 5.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e6f',
    500: '#7f113a',
    950: '#000000',
  },
}
SCSS
$custom: #7f113a;
$custom-light: #aa5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f113a",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 337.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.14427,
    "h": 5.8
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#7F113A
secondary
#37B586
accent
#F3AC35
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F113A

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

Preview Lab → · Contrast checker → · Palette generator →

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