#7E315E#7E315E

#7E315E is a dark, moderate pink. Relative luminance 0.074; OKLCH L 43.6% C 0.119 H 347.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7E315E
RGBrgb(126, 49, 94)
HSLhsl(325, 44%, 34%)
HSVhsv(325, 61%, 49%)
CMYKcmyk(0%, 61.1%, 25.4%, 50.6%)
CIE-LABlab(32.79, 38.58, -10.16)
CIE-LCHlch(32.79, 39.90, 345.25°)
OKLaboklab(43.63% 0.1163 -0.0267)
OKLCHoklch(43.63% 0.119 347)
XYZxyz(11.7233, 7.4415, 11.4064)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E315E #317E51
analogous
#78317E #7E315E #7E3138
triadic
#7E315E #5E7E31 #315E7E
tetradic
#7E315E #7E7831 #317E51 #31387E
square
#7E315E #7E7831 #317E51 #31387E
split-complementary
#7E315E #387E31 #317E78
monochromatic
#260F1C #52203D #7E315E #AA427F #C3669D

Accessibility & contrast

On white

8.44
#7E315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E315E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E315E#FFFFFF#000000##FFFFFF
##7E315E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39455F
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#862F43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e315e;
/* rgb */ color: rgb(126, 49, 94);
/* oklch */ color: oklch(43.6% 0.119 347.0);
Tailwind
colors: {
  custom: {
    50: '#a66d8b',
    500: '#7e315e',
    950: '#000000',
  },
}
SCSS
$custom: #7e315e;
$custom-light: #a66d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e315e",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 324.935,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.11932,
    "h": 347
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#7E315E
secondary
#60AB7F
accent
#D48954
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E315E

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

Preview Lab → · Contrast checker → · Palette generator →

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