#7F366B#7F366B

#7F366B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.121 H 339.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7F366B
RGBrgb(127, 54, 107)
HSLhsl(316, 40%, 35%)
HSVhsv(316, 57%, 50%)
CMYKcmyk(0%, 57.5%, 15.7%, 50.2%)
CIE-LABlab(34.42, 38.45, -15.95)
CIE-LCHlch(34.42, 41.63, 337.47°)
OKLaboklab(45.04% 0.1133 -0.0429)
OKLCHoklch(45.04% 0.121 339.3)
XYZxyz(12.7256, 8.2129, 14.8221)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F366B #367F4A
analogous
#6E367F #7F366B #7F3647
triadic
#7F366B #6B7F36 #366B7F
tetradic
#7F366B #7F6E36 #367F4A #36477F
square
#7F366B #7F6E36 #367F4A #36477F
split-complementary
#7F366B #477F36 #367F6E
monochromatic
#291123 #542447 #7F366B #AA488F #C16EAB

Accessibility & contrast

On white

7.95
#7F366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7F366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F366B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F366B#FFFFFF#000000##FFFFFF
##7F366B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#4E5569
Tritanopia (blue-blind)
#86384B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f366b;
/* rgb */ color: rgb(127, 54, 107);
/* oklch */ color: oklch(45.0% 0.121 339.3);
Tailwind
colors: {
  custom: {
    50: '#a67195',
    500: '#7f366b',
    950: '#000000',
  },
}
SCSS
$custom: #7f366b;
$custom-light: #a67195;
$custom-dark: #000000;
JSON
{
  "hex": "#7f366b",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 316.438,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.12115,
    "h": 339.3
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#7F366B
secondary
#67AA79
accent
#D07958
background
#FAF7F9
surface
#F4EDF1
border
#CEC8CB
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #7F366B

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

Preview Lab → · Contrast checker → · Palette generator →

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