#7F1946#7F1946

#7F1946 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.141 H 359.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F1946
RGBrgb(127, 25, 70)
HSLhsl(334, 67%, 30%)
HSVhsv(334, 80%, 50%)
CMYKcmyk(0%, 80.3%, 44.9%, 50.2%)
CIE-LABlab(28.51, 45.78, -0.80)
CIE-LCHlch(28.51, 45.79, 359.00°)
OKLaboklab(40.22% 0.1407 -0.0015)
OKLCHoklch(40.22% 0.141 359.4)
XYZxyz(10.2063, 5.6508, 6.3464)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1946 #197F52
analogous
#7F1979 #7F1946 #7F1F19
triadic
#7F1946 #467F19 #19467F
tetradic
#7F1946 #797F19 #197F52 #1F197F
square
#7F1946 #797F19 #197F52 #1F197F
split-complementary
#7F1946 #197F1F #19797F
monochromatic
#1A050E #4C0F2A #7F1946 #B22362 #D83A80

Accessibility & contrast

On white

9.86
#7F1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1946
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1946#FFFFFF#000000##FFFFFF
##7F19461.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#8A052D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1946;
/* rgb */ color: rgb(127, 25, 70);
/* oklch */ color: oklch(40.2% 0.141 359.4);
Tailwind
colors: {
  custom: {
    50: '#a96179',
    500: '#7f1946',
    950: '#000000',
  },
}
SCSS
$custom: #7f1946;
$custom-light: #a96179;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1946",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 333.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.14072,
    "h": 359.4
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#7F1946
secondary
#41B381
accent
#EA9E3E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1946

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

Preview Lab → · Contrast checker → · Palette generator →

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