#7F1945#7F1945

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

Color values

HEX#7F1945
RGBrgb(127, 25, 69)
HSLhsl(334, 67%, 30%)
HSVhsv(334, 80%, 50%)
CMYKcmyk(0%, 80.3%, 45.7%, 50.2%)
CIE-LABlab(28.48, 45.68, -0.18)
CIE-LCHlch(28.48, 45.68, 359.78°)
OKLaboklab(40.19% 0.1404 0.0001)
OKLCHoklch(40.19% 0.14 0)
XYZxyz(10.1750, 5.6383, 6.1816)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1945 #197F53
analogous
#7F1978 #7F1945 #7F2019
triadic
#7F1945 #457F19 #19457F
tetradic
#7F1945 #787F19 #197F53 #20197F
square
#7F1945 #787F19 #197F53 #20197F
split-complementary
#7F1945 #197F20 #19787F
monochromatic
#1A050E #4C0F29 #7F1945 #B22361 #D83A7E

Accessibility & contrast

On white

9.87
#7F1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1945
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1945#FFFFFF#000000##FFFFFF
##7F19451.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#8A042D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1945;
/* rgb */ color: rgb(127, 25, 69);
/* oklch */ color: oklch(40.2% 0.140 0.0);
Tailwind
colors: {
  custom: {
    50: '#a96178',
    500: '#7f1945',
    950: '#000000',
  },
}
SCSS
$custom: #7f1945;
$custom-light: #a96178;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1945",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 334.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.14036,
    "h": 0
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#7F1945
secondary
#41B382
accent
#EAA03E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1945

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

Preview Lab → · Contrast checker → · Palette generator →

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