#7E314F#7E314F

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

Color values

HEX#7E314F
RGBrgb(126, 49, 79)
HSLhsl(337, 44%, 34%)
HSVhsv(337, 61%, 49%)
CMYKcmyk(0%, 61.1%, 37.3%, 50.6%)
CIE-LABlab(32.25, 36.52, -1.26)
CIE-LCHlch(32.25, 36.54, 358.02°)
OKLaboklab(43.05% 0.1114 -0.0028)
OKLCHoklch(43.05% 0.111 358.5)
XYZxyz(11.1144, 7.1979, 8.1996)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E314F #317E60
analogous
#7E3176 #7E314F #7E3931
triadic
#7E314F #4F7E31 #314F7E
tetradic
#7E314F #767E31 #317E60 #39317E
square
#7E314F #767E31 #317E60 #39317E
split-complementary
#7E314F #317E39 #31767E
monochromatic
#260F18 #522033 #7E314F #AA426B #C3668A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E314F#FFFFFF#000000##FFFFFF
##7E314F1.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)
#3E4350
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#882B3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e314f;
/* rgb */ color: rgb(126, 49, 79);
/* oklch */ color: oklch(43.0% 0.111 358.5);
Tailwind
colors: {
  custom: {
    50: '#a66d80',
    500: '#7e314f',
    950: '#000000',
  },
}
SCSS
$custom: #7e314f;
$custom-light: #a66d80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e314f",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 336.623,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.11139,
    "h": 358.5
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#7E314F
secondary
#60AB8E
accent
#D4A254
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E314F

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

Preview Lab → · Contrast checker → · Palette generator →

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