#7F315E#7F315E

#7F315E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.8% C 0.120 H 347.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7F315E
RGBrgb(127, 49, 94)
HSLhsl(325, 44%, 35%)
HSVhsv(325, 61%, 50%)
CMYKcmyk(0%, 61.4%, 26%, 50.2%)
CIE-LABlab(32.96, 38.91, -9.89)
CIE-LCHlch(32.96, 40.15, 345.74°)
OKLaboklab(43.78% 0.1174 -0.026)
OKLCHoklch(43.78% 0.12 347.5)
XYZxyz(11.8715, 7.5179, 11.4134)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F315E #317F52
analogous
#79317F #7F315E #7F3137
triadic
#7F315E #5E7F31 #315E7F
tetradic
#7F315E #7F7931 #317F52 #31377F
square
#7F315E #7F7931 #317F52 #31377F
split-complementary
#7F315E #377F31 #317F79
monochromatic
#270F1D #53203D #7F315E #AB427F #C4669C

Accessibility & contrast

On white

8.39
#7F315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7F315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F315E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F315E#FFFFFF#000000##FFFFFF
##7F315E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#872F43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f315e;
/* rgb */ color: rgb(127, 49, 94);
/* oklch */ color: oklch(43.8% 0.120 347.5);
Tailwind
colors: {
  custom: {
    50: '#a76e8b',
    500: '#7f315e',
    950: '#000000',
  },
}
SCSS
$custom: #7f315e;
$custom-light: #a76e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f315e",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 325.385,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43782,
    "c": 0.12025,
    "h": 347.5
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#7F315E
secondary
#60AB80
accent
#D48A54
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F315E

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

Preview Lab → · Contrast checker → · Palette generator →

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