#7F1640#7F1640

#7F1640 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.142 H 2.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7F1640
RGBrgb(127, 22, 64)
HSLhsl(336, 70%, 29%)
HSVhsv(336, 83%, 50%)
CMYKcmyk(0%, 82.7%, 49.6%, 50.2%)
CIE-LABlab(28.00, 46.12, 2.48)
CIE-LCHlch(28.00, 46.18, 3.08°)
OKLaboklab(39.78% 0.1415 0.0068)
OKLCHoklch(39.78% 0.142 2.8)
XYZxyz(9.9656, 5.4574, 5.3781)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1640 #167F55
analogous
#7F1675 #7F1640 #7F2116
triadic
#7F1640 #407F16 #16407F
tetradic
#7F1640 #757F16 #167F55 #21167F
square
#7F1640 #757F16 #167F55 #21167F
split-complementary
#7F1640 #167F21 #16757F
monochromatic
#1A050D #4B0D26 #7F1640 #B31F5A #DC3477

Accessibility & contrast

On white

10.04
#7F1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1640
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1640#FFFFFF#000000##FFFFFF
##7F16401.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1640;
/* rgb */ color: rgb(127, 22, 64);
/* oklch */ color: oklch(39.8% 0.142 2.8);
Tailwind
colors: {
  custom: {
    50: '#a96074',
    500: '#7f1640',
    950: '#000000',
  },
}
SCSS
$custom: #7f1640;
$custom-light: #a96074;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1640",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 336,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.14164,
    "h": 2.8
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#7F1640
secondary
#3DB484
accent
#EDA63B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1640

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

Preview Lab → · Contrast checker → · Palette generator →

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