#7E195C#7E195C

#7E195C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.151 H 345.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7E195C
RGBrgb(126, 25, 92)
HSLhsl(320, 67%, 30%)
HSVhsv(320, 80%, 49%)
CMYKcmyk(0%, 80.2%, 27%, 50.6%)
CIE-LABlab(29.17, 48.10, -14.38)
CIE-LCHlch(29.17, 50.21, 343.35°)
OKLaboklab(40.94% 0.146 -0.0382)
OKLCHoklch(40.94% 0.151 345.3)
XYZxyz(10.8841, 5.9048, 10.6897)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E195C #197E3B
analogous
#6E197E #7E195C #7E192A
triadic
#7E195C #5C7E19 #195C7E
tetradic
#7E195C #7E6E19 #197E3B #192A7E
square
#7E195C #7E6E19 #197E3B #192A7E
split-complementary
#7E195C #2A7E19 #197E6E
monochromatic
#1A0513 #4B0F37 #7E195C #B12381 #D83AA3

Accessibility & contrast

On white

9.63
#7E195C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E195C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E195C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E195C#FFFFFF#000000##FFFFFF
##7E195C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#871739
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e195c;
/* rgb */ color: rgb(126, 25, 92);
/* oklch */ color: oklch(40.9% 0.151 345.3);
Tailwind
colors: {
  custom: {
    50: '#a7628a',
    500: '#7e195c',
    950: '#000000',
  },
}
SCSS
$custom: #7e195c;
$custom-light: #a7628a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e195c",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 92
  },
  "hsl": {
    "h": 320.198,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.15089,
    "h": 345.3
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#7E195C
secondary
#41B267
accent
#EA783E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E195C

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

Preview Lab → · Contrast checker → · Palette generator →

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