#7F1746#7F1746

#7F1746 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 359.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7F1746
RGBrgb(127, 23, 70)
HSLhsl(333, 69%, 29%)
HSVhsv(333, 82%, 50%)
CMYKcmyk(0%, 81.9%, 44.9%, 50.2%)
CIE-LABlab(28.30, 46.40, -1.12)
CIE-LCHlch(28.30, 46.42, 358.62°)
OKLaboklab(40.06% 0.1427 -0.0024)
OKLCHoklch(40.06% 0.143 359)
XYZxyz(10.1651, 5.5684, 6.3327)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1746 #177F50
analogous
#7F177A #7F1746 #7F1C17
triadic
#7F1746 #467F17 #17467F
tetradic
#7F1746 #7A7F17 #177F50 #1C177F
square
#7F1746 #7A7F17 #177F50 #1C177F
split-complementary
#7F1746 #177F1C #177A7F
monochromatic
#1A050E #4B0E29 #7F1746 #B32063 #DB3680

Accessibility & contrast

On white

9.94
#7F1746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1746
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1746#FFFFFF#000000##FFFFFF
##7F17461.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#8A012C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1746;
/* rgb */ color: rgb(127, 23, 70);
/* oklch */ color: oklch(40.1% 0.143 359.0);
Tailwind
colors: {
  custom: {
    50: '#a96079',
    500: '#7f1746',
    950: '#000000',
  },
}
SCSS
$custom: #7f1746;
$custom-light: #a96079;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1746",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 332.885,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.14271,
    "h": 359
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#7F1746
secondary
#3EB47F
accent
#EC9C3C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1746

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

Preview Lab → · Contrast checker → · Palette generator →

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