#7F1740#7F1740

#7F1740 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.141 H 2.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7F1740
RGBrgb(127, 23, 64)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 82%, 50%)
CMYKcmyk(0%, 81.9%, 49.6%, 50.2%)
CIE-LABlab(28.10, 45.82, 2.63)
CIE-LCHlch(28.10, 45.89, 3.29°)
OKLaboklab(39.86% 0.1405 0.0072)
OKLCHoklch(39.86% 0.141 2.9)
XYZxyz(9.9851, 5.4964, 5.3846)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1740 #177F56
analogous
#7F1774 #7F1740 #7F2217
triadic
#7F1740 #407F17 #17407F
tetradic
#7F1740 #747F17 #177F56 #22177F
square
#7F1740 #747F17 #177F56 #22177F
split-complementary
#7F1740 #177F22 #17747F
monochromatic
#1A050D #4B0E26 #7F1740 #B3205A #DB3677

Accessibility & contrast

On white

10.00
#7F1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1740
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1740#FFFFFF#000000##FFFFFF
##7F17401.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1740;
/* rgb */ color: rgb(127, 23, 64);
/* oklch */ color: oklch(39.9% 0.141 2.9);
Tailwind
colors: {
  custom: {
    50: '#a96074',
    500: '#7f1740',
    950: '#000000',
  },
}
SCSS
$custom: #7f1740;
$custom-light: #a96074;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1740",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 336.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.14071,
    "h": 2.9
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#7F1740
secondary
#3EB485
accent
#ECA73C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1740

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

Preview Lab → · Contrast checker → · Palette generator →

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