#7E314B#7E314B

#7E314B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.110 H 1.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7E314B
RGBrgb(126, 49, 75)
HSLhsl(340, 44%, 34%)
HSVhsv(340, 61%, 49%)
CMYKcmyk(0%, 61.1%, 40.5%, 50.6%)
CIE-LABlab(32.13, 36.02, 1.15)
CIE-LCHlch(32.13, 36.04, 1.84°)
OKLaboklab(42.91% 0.1099 0.0034)
OKLCHoklch(42.91% 0.11 1.8)
XYZxyz(10.9732, 7.1414, 7.4558)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E314B #317E64
analogous
#7E3172 #7E314B #7E3E31
triadic
#7E314B #4B7E31 #314B7E
tetradic
#7E314B #727E31 #317E64 #3E317E
square
#7E314B #727E31 #317E64 #3E317E
split-complementary
#7E314B #317E3E #31727E
monochromatic
#260F17 #522031 #7E314B #AA4265 #C36686

Accessibility & contrast

On white

8.65
#7E314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E314B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E314B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E314B#FFFFFF#000000##FFFFFF
##7E314B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#88293B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e314b;
/* rgb */ color: rgb(126, 49, 75);
/* oklch */ color: oklch(42.9% 0.110 1.8);
Tailwind
colors: {
  custom: {
    50: '#a76d7d',
    500: '#7e314b',
    950: '#000000',
  },
}
SCSS
$custom: #7e314b;
$custom-light: #a76d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e314b",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 339.74,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.1099,
    "h": 1.8
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#7E314B
secondary
#60AB92
accent
#D4A954
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E314B

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

Preview Lab → · Contrast checker → · Palette generator →

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