#7F1947#7F1947

#7F1947 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 358.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7F1947
RGBrgb(127, 25, 71)
HSLhsl(333, 67%, 30%)
HSVhsv(333, 80%, 50%)
CMYKcmyk(0%, 80.3%, 44.1%, 50.2%)
CIE-LABlab(28.55, 45.89, -1.42)
CIE-LCHlch(28.55, 45.91, 358.23°)
OKLaboklab(40.26% 0.1411 -0.0032)
OKLCHoklch(40.26% 0.141 358.7)
XYZxyz(10.2381, 5.6636, 6.5141)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1947 #197F51
analogous
#7F197A #7F1947 #7F1E19
triadic
#7F1947 #477F19 #19477F
tetradic
#7F1947 #7A7F19 #197F51 #1E197F
square
#7F1947 #7A7F19 #197F51 #1E197F
split-complementary
#7F1947 #197F1E #197A7F
monochromatic
#1A050E #4C0F2A #7F1947 #B22364 #D83A81

Accessibility & contrast

On white

9.85
#7F1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1947
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1947#FFFFFF#000000##FFFFFF
##7F19471.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#8A062E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1947;
/* rgb */ color: rgb(127, 25, 71);
/* oklch */ color: oklch(40.3% 0.141 358.7);
Tailwind
colors: {
  custom: {
    50: '#a9617a',
    500: '#7f1947',
    950: '#000000',
  },
}
SCSS
$custom: #7f1947;
$custom-light: #a9617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1947",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 332.941,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.1411,
    "h": 358.7
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#7F1947
secondary
#41B380
accent
#EA9C3E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1947

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

Preview Lab → · Contrast checker → · Palette generator →

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