#7F1340#7F1340

#7F1340 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.144 H 2.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7F1340
RGBrgb(127, 19, 64)
HSLhsl(335, 74%, 29%)
HSVhsv(335, 85%, 50%)
CMYKcmyk(0%, 85%, 49.6%, 50.2%)
CIE-LABlab(27.71, 46.95, 2.06)
CIE-LCHlch(27.71, 46.99, 2.51°)
OKLaboklab(39.57% 0.1442 0.0058)
OKLCHoklch(39.57% 0.144 2.3)
XYZxyz(9.9115, 5.3493, 5.3601)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1340 #137F52
analogous
#7F1376 #7F1340 #7F1C13
triadic
#7F1340 #407F13 #13407F
tetradic
#7F1340 #767F13 #137F52 #1C137F
square
#7F1340 #767F13 #137F52 #1C137F
split-complementary
#7F1340 #137F1C #13767F
monochromatic
#1B040D #4A0B25 #7F1340 #B41B5B #E02D77

Accessibility & contrast

On white

10.15
#7F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1340
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1340#FFFFFF#000000##FFFFFF
##7F13401.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1340;
/* rgb */ color: rgb(127, 19, 64);
/* oklch */ color: oklch(39.6% 0.144 2.3);
Tailwind
colors: {
  custom: {
    50: '#a95f74',
    500: '#7f1340',
    950: '#000000',
  },
}
SCSS
$custom: #7f1340;
$custom-light: #a95f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1340",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 335,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.14429,
    "h": 2.3
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#7F1340
secondary
#39B481
accent
#F1A337
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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