#7F2949#7F2949

#7F2949 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.122 H 1.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7F2949
RGBrgb(127, 41, 73)
HSLhsl(338, 51%, 33%)
HSVhsv(338, 68%, 50%)
CMYKcmyk(0%, 67.7%, 42.5%, 50.2%)
CIE-LABlab(30.83, 39.93, 0.60)
CIE-LCHlch(30.83, 39.94, 0.86°)
OKLaboklab(41.96% 0.1221 0.002)
OKLCHoklch(41.96% 0.122 1)
XYZxyz(10.7487, 6.5802, 7.0061)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2949 #297F5F
analogous
#7F2974 #7F2949 #7F3429
triadic
#7F2949 #497F29 #29497F
tetradic
#7F2949 #747F29 #297F5F #34297F
square
#7F2949 #747F29 #297F5F #34297F
split-complementary
#7F2949 #297F34 #29747F
monochromatic
#220B14 #511A2E #7F2949 #AD3864 #C95983

Accessibility & contrast

On white

9.07
#7F2949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2949
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2949#FFFFFF#000000##FFFFFF
##7F29491.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E4A
Deuteranopia (green-blind)
#514F47
Tritanopia (blue-blind)
#8A1F36
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2949;
/* rgb */ color: rgb(127, 41, 73);
/* oklch */ color: oklch(42.0% 0.122 1.0);
Tailwind
colors: {
  custom: {
    50: '#a8697b',
    500: '#7f2949',
    950: '#000000',
  },
}
SCSS
$custom: #7f2949;
$custom-light: #a8697b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2949",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 73
  },
  "hsl": {
    "h": 337.674,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41962,
    "c": 0.12214,
    "h": 1
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#7F2949
secondary
#55AF8D
accent
#DBA64D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2949

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

Preview Lab → · Contrast checker → · Palette generator →

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