#7E195F#7E195F

#7E195F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.153 H 343.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E195F
RGBrgb(126, 25, 95)
HSLhsl(318, 67%, 30%)
HSVhsv(318, 80%, 49%)
CMYKcmyk(0%, 80.2%, 24.6%, 50.6%)
CIE-LABlab(29.31, 48.50, -16.13)
CIE-LCHlch(29.31, 51.12, 341.60°)
OKLaboklab(41.09% 0.1465 -0.0431)
OKLCHoklch(41.09% 0.153 343.6)
XYZxyz(11.0178, 5.9583, 11.3941)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E195F #197E38
analogous
#6B197E #7E195F #7E192D
triadic
#7E195F #5F7E19 #195F7E
tetradic
#7E195F #7E6B19 #197E38 #192D7E
square
#7E195F #7E6B19 #197E38 #192D7E
split-complementary
#7E195F #2D7E19 #197E6B
monochromatic
#1A0513 #4B0F38 #7E195F #B12386 #D83AA7

Accessibility & contrast

On white

9.58
#7E195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E195F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E195F#FFFFFF#000000##FFFFFF
##7E195F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#87193A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e195f;
/* rgb */ color: rgb(126, 25, 95);
/* oklch */ color: oklch(41.1% 0.153 343.6);
Tailwind
colors: {
  custom: {
    50: '#a7628c',
    500: '#7e195f',
    950: '#000000',
  },
}
SCSS
$custom: #7e195f;
$custom-light: #a7628c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e195f",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 318.416,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.15276,
    "h": 343.6
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#7E195F
secondary
#41B263
accent
#EA733E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E195F

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

Preview Lab → · Contrast checker → · Palette generator →

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