#7F1F49#7F1F49

#7F1F49 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.135 H 358.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7F1F49
RGBrgb(127, 31, 73)
HSLhsl(334, 61%, 31%)
HSVhsv(334, 76%, 50%)
CMYKcmyk(0%, 75.6%, 42.5%, 50.2%)
CIE-LABlab(29.35, 44.03, -1.57)
CIE-LCHlch(29.35, 44.06, 357.96°)
OKLaboklab(40.87% 0.1352 -0.0036)
OKLCHoklch(40.87% 0.135 358.5)
XYZxyz(10.4457, 5.9744, 6.9051)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F49 #1F7F55
analogous
#7F1F79 #7F1F49 #7F251F
triadic
#7F1F49 #497F1F #1F497F
tetradic
#7F1F49 #797F1F #1F7F55 #251F7F
square
#7F1F49 #797F1F #1F7F55 #251F7F
split-complementary
#7F1F49 #1F7F25 #1F797F
monochromatic
#1D0710 #4E132D #7F1F49 #B02B65 #D24683

Accessibility & contrast

On white

9.57
#7F1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F49
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F49#FFFFFF#000000##FFFFFF
##7F1F491.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4A
Deuteranopia (green-blind)
#4D4C47
Tritanopia (blue-blind)
#8A1231
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1f49;
/* rgb */ color: rgb(127, 31, 73);
/* oklch */ color: oklch(40.9% 0.135 358.5);
Tailwind
colors: {
  custom: {
    50: '#a8647b',
    500: '#7f1f49',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f49;
$custom-light: #a8647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f49",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 333.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.1352,
    "h": 358.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#7F1F49
secondary
#48B284
accent
#E49E44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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