#7F1040#7F1040

#7F1040 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 1.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7F1040
RGBrgb(127, 16, 64)
HSLhsl(334, 78%, 28%)
HSVhsv(334, 87%, 50%)
CMYKcmyk(0%, 87.4%, 49.6%, 50.2%)
CIE-LABlab(27.45, 47.70, 1.68)
CIE-LCHlch(27.45, 47.73, 2.02°)
OKLaboklab(39.38% 0.1466 0.0048)
OKLCHoklch(39.38% 0.147 1.9)
XYZxyz(9.8640, 5.2542, 5.3442)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1040 #107F4F
analogous
#7F1077 #7F1040 #7F1710
triadic
#7F1040 #407F10 #10407F
tetradic
#7F1040 #777F10 #107F4F #17107F
square
#7F1040 #777F10 #107F4F #17107F
split-complementary
#7F1040 #107F17 #10777F
monochromatic
#1B030E #490925 #7F1040 #B5175B #E42678

Accessibility & contrast

On white

10.24
#7F1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1040
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1040#FFFFFF#000000##FFFFFF
##7F10401.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1040;
/* rgb */ color: rgb(127, 16, 64);
/* oklch */ color: oklch(39.4% 0.147 1.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e74',
    500: '#7f1040',
    950: '#000000',
  },
}
SCSS
$custom: #7f1040;
$custom-light: #aa5e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1040",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 334.054,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.14667,
    "h": 1.9
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#7F1040
secondary
#36B57E
accent
#F4A134
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1040

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

Preview Lab → · Contrast checker → · Palette generator →

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