#7F1135#7F1135

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

Color values

HEX#7F1135
RGBrgb(127, 17, 53)
HSLhsl(340, 76%, 28%)
HSVhsv(340, 87%, 50%)
CMYKcmyk(0%, 86.6%, 58.3%, 50.2%)
CIE-LABlab(27.22, 46.54, 8.81)
CIE-LCHlch(27.22, 47.37, 10.72°)
OKLaboklab(39.11% 0.1415 0.0223)
OKLCHoklch(39.11% 0.143 8.9)
XYZxyz(9.5964, 5.1714, 3.8603)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1135 #117F5B
analogous
#7F116C #7F1135 #7F2411
triadic
#7F1135 #357F11 #11357F
tetradic
#7F1135 #6C7F11 #117F5B #24117F
square
#7F1135 #6C7F11 #117F5B #24117F
split-complementary
#7F1135 #117F24 #116C7F
monochromatic
#1B040B #490A1E #7F1135 #B5184C #E22865

Accessibility & contrast

On white

10.32
#7F1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1135
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1135#FFFFFF#000000##FFFFFF
##7F11351.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313236
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1135;
/* rgb */ color: rgb(127, 17, 53);
/* oklch */ color: oklch(39.1% 0.143 8.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e6b',
    500: '#7f1135',
    950: '#000000',
  },
}
SCSS
$custom: #7f1135;
$custom-light: #aa5e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1135",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 340.364,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.14326,
    "h": 8.9
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#7F1135
secondary
#37B58C
accent
#F3B535
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1135

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

Preview Lab → · Contrast checker → · Palette generator →

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