#7F1743#7F1743

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

Color values

HEX#7F1743
RGBrgb(127, 23, 67)
HSLhsl(335, 69%, 29%)
HSVhsv(335, 82%, 50%)
CMYKcmyk(0%, 81.9%, 47.2%, 50.2%)
CIE-LABlab(28.20, 46.10, 0.75)
CIE-LCHlch(28.20, 46.11, 0.93°)
OKLaboklab(39.96% 0.1416 0.0024)
OKLCHoklch(39.96% 0.142 1)
XYZxyz(10.0727, 5.5314, 5.8464)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1743 #177F53
analogous
#7F1777 #7F1743 #7F1F17
triadic
#7F1743 #437F17 #17437F
tetradic
#7F1743 #777F17 #177F53 #1F177F
square
#7F1743 #777F17 #177F53 #1F177F
split-complementary
#7F1743 #177F1F #17777F
monochromatic
#1A050E #4B0E28 #7F1743 #B3205E #DB367C

Accessibility & contrast

On white

9.97
#7F1743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1743 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1743
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1743#FFFFFF#000000##FFFFFF
##7F17431.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303644
Deuteranopia (green-blind)
#4C4A41
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1743;
/* rgb */ color: rgb(127, 23, 67);
/* oklch */ color: oklch(40.0% 0.142 1.0);
Tailwind
colors: {
  custom: {
    50: '#a96076',
    500: '#7f1743',
    950: '#000000',
  },
}
SCSS
$custom: #7f1743;
$custom-light: #a96076;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1743",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 67
  },
  "hsl": {
    "h": 334.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.14165,
    "h": 1
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#7F1743
secondary
#3EB482
accent
#ECA13C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1743

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

Preview Lab → · Contrast checker → · Palette generator →

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