#7F3149#7F3149

#7F3149 is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.0% C 0.110 H 3.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7F3149
RGBrgb(127, 49, 73)
HSLhsl(342, 44%, 35%)
HSVhsv(342, 61%, 50%)
CMYKcmyk(0%, 61.4%, 42.5%, 50.2%)
CIE-LABlab(32.24, 36.14, 2.64)
CIE-LCHlch(32.24, 36.24, 4.18°)
OKLaboklab(43.01% 0.1102 0.0072)
OKLCHoklch(43.01% 0.11 3.8)
XYZxyz(11.0540, 7.1909, 7.1079)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3149 #317F67
analogous
#7F3170 #7F3149 #7F4031
triadic
#7F3149 #497F31 #31497F
tetradic
#7F3149 #707F31 #317F67 #40317F
square
#7F3149 #707F31 #317F67 #40317F
split-complementary
#7F3149 #317F40 #31707F
monochromatic
#270F16 #532030 #7F3149 #AB4262 #C46683

Accessibility & contrast

On white

8.61
#7F3149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F3149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3149
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3149#FFFFFF#000000##FFFFFF
##7F31491.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40424A
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#8A293A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f3149;
/* rgb */ color: rgb(127, 49, 73);
/* oklch */ color: oklch(43.0% 0.110 3.8);
Tailwind
colors: {
  custom: {
    50: '#a86d7b',
    500: '#7f3149',
    950: '#000000',
  },
}
SCSS
$custom: #7f3149;
$custom-light: #a86d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3149",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 73
  },
  "hsl": {
    "h": 341.538,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.1104,
    "h": 3.8
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#7F3149
secondary
#60AB94
accent
#D4AD54
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F3149

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

Preview Lab → · Contrast checker → · Palette generator →

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