#7F1342#7F1342

#7F1342 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.145 H 1.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7F1342
RGBrgb(127, 19, 66)
HSLhsl(334, 74%, 29%)
HSVhsv(334, 85%, 50%)
CMYKcmyk(0%, 85%, 48%, 50.2%)
CIE-LABlab(27.77, 47.14, 0.80)
CIE-LCHlch(27.77, 47.14, 0.97°)
OKLaboklab(39.64% 0.1449 0.0026)
OKLCHoklch(39.64% 0.145 1)
XYZxyz(9.9695, 5.3725, 5.6652)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1342 #137F50
analogous
#7F1378 #7F1342 #7F1A13
triadic
#7F1342 #427F13 #13427F
tetradic
#7F1342 #787F13 #137F50 #1A137F
square
#7F1342 #787F13 #137F50 #1A137F
split-complementary
#7F1342 #137F1A #13787F
monochromatic
#1B040E #4A0B26 #7F1342 #B41B5E #E02D7B

Accessibility & contrast

On white

10.12
#7F1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1342
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1342#FFFFFF#000000##FFFFFF
##7F13421.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1342;
/* rgb */ color: rgb(127, 19, 66);
/* oklch */ color: oklch(39.6% 0.145 1.0);
Tailwind
colors: {
  custom: {
    50: '#a95f76',
    500: '#7f1342',
    950: '#000000',
  },
}
SCSS
$custom: #7f1342;
$custom-light: #a95f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1342",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 333.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.14492,
    "h": 1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#7F1342
secondary
#39B47F
accent
#F1A037
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1342

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

Preview Lab → · Contrast checker → · Palette generator →

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