#7F113B#7F113B

#7F113B is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.145 H 5.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7F113B
RGBrgb(127, 17, 59)
HSLhsl(337, 76%, 28%)
HSVhsv(337, 87%, 50%)
CMYKcmyk(0%, 86.6%, 53.5%, 50.2%)
CIE-LABlab(27.38, 47.02, 4.97)
CIE-LCHlch(27.38, 47.28, 6.03°)
OKLaboklab(39.28% 0.1439 0.013)
OKLCHoklch(39.28% 0.145 5.2)
XYZxyz(9.7432, 5.2301, 4.6333)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F113B #117F55
analogous
#7F1172 #7F113B #7F1E11
triadic
#7F113B #3B7F11 #113B7F
tetradic
#7F113B #727F11 #117F55 #1E117F
square
#7F113B #727F11 #117F55 #1E117F
split-complementary
#7F113B #117F1E #11727F
monochromatic
#1B040D #490A22 #7F113B #B51854 #E2286F

Accessibility & contrast

On white

10.26
#7F113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F113B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F113B#FFFFFF#000000##FFFFFF
##7F113B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333C
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f113b;
/* rgb */ color: rgb(127, 17, 59);
/* oklch */ color: oklch(39.3% 0.145 5.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e70',
    500: '#7f113b',
    950: '#000000',
  },
}
SCSS
$custom: #7f113b;
$custom-light: #aa5e70;
$custom-dark: #000000;
JSON
{
  "hex": "#7f113b",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 337.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.14451,
    "h": 5.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#7F113B
secondary
#37B585
accent
#F3AA35
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F113B

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

Preview Lab → · Contrast checker → · Palette generator →

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