#7F314F#7F314F

#7F314F is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.2% C 0.112 H 358.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7F314F
RGBrgb(127, 49, 79)
HSLhsl(337, 44%, 35%)
HSVhsv(337, 61%, 50%)
CMYKcmyk(0%, 61.4%, 37.8%, 50.2%)
CIE-LABlab(32.42, 36.86, -0.99)
CIE-LCHlch(32.42, 36.88, 358.46°)
OKLaboklab(43.21% 0.1124 -0.0021)
OKLCHoklch(43.21% 0.112 358.9)
XYZxyz(11.2626, 7.2744, 8.2066)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F314F #317F61
analogous
#7F3176 #7F314F #7F3A31
triadic
#7F314F #4F7F31 #314F7F
tetradic
#7F314F #767F31 #317F61 #3A317F
square
#7F314F #767F31 #317F61 #3A317F
split-complementary
#7F314F #317F3A #31767F
monochromatic
#270F18 #532034 #7F314F #AB426A #C4668A

Accessibility & contrast

On white

8.56
#7F314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F314F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F314F#FFFFFF#000000##FFFFFF
##7F314F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#53524D
Tritanopia (blue-blind)
#892A3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f314f;
/* rgb */ color: rgb(127, 49, 79);
/* oklch */ color: oklch(43.2% 0.112 358.9);
Tailwind
colors: {
  custom: {
    50: '#a76d80',
    500: '#7f314f',
    950: '#000000',
  },
}
SCSS
$custom: #7f314f;
$custom-light: #a76d80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f314f",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 336.923,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.11246,
    "h": 358.9
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#7F314F
secondary
#60AB8F
accent
#D4A354
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F314F

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

Preview Lab → · Contrast checker → · Palette generator →

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