#7F1133#7F1133

#7F1133 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.143 H 10.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7F1133
RGBrgb(127, 17, 51)
HSLhsl(341, 76%, 28%)
HSVhsv(341, 87%, 50%)
CMYKcmyk(0%, 86.6%, 59.8%, 50.2%)
CIE-LABlab(27.17, 46.39, 10.10)
CIE-LCHlch(27.17, 47.48, 12.28°)
OKLaboklab(39.05% 0.1407 0.0253)
OKLCHoklch(39.05% 0.143 10.2)
XYZxyz(9.5514, 5.1534, 3.6231)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1133 #117F5D
analogous
#7F116A #7F1133 #7F2611
triadic
#7F1133 #337F11 #11337F
tetradic
#7F1133 #6A7F11 #117F5D #26117F
square
#7F1133 #6A7F11 #117F5D #26117F
split-complementary
#7F1133 #117F26 #116A7F
monochromatic
#1B040B #490A1D #7F1133 #B51849 #E22862

Accessibility & contrast

On white

10.34
#7F1133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1133
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1133#FFFFFF#000000##FFFFFF
##7F11331.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323234
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1133;
/* rgb */ color: rgb(127, 17, 51);
/* oklch */ color: oklch(39.1% 0.143 10.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e6a',
    500: '#7f1133',
    950: '#000000',
  },
}
SCSS
$custom: #7f1133;
$custom-light: #aa5e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1133",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 341.455,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.14295,
    "h": 10.2
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#7F1133
secondary
#37B58E
accent
#F3B835
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1133

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

Preview Lab → · Contrast checker → · Palette generator →

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