#7E195B#7E195B

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

Color values

HEX#7E195B
RGBrgb(126, 25, 91)
HSLhsl(321, 67%, 30%)
HSVhsv(321, 80%, 49%)
CMYKcmyk(0%, 80.2%, 27.8%, 50.6%)
CIE-LABlab(29.13, 47.97, -13.80)
CIE-LCHlch(29.13, 49.91, 343.95°)
OKLaboklab(40.9% 0.1458 -0.0366)
OKLCHoklch(40.9% 0.15 345.9)
XYZxyz(10.8406, 5.8874, 10.4610)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E195B #197E3C
analogous
#6F197E #7E195B #7E1929
triadic
#7E195B #5B7E19 #195B7E
tetradic
#7E195B #7E6F19 #197E3C #19297E
square
#7E195B #7E6F19 #197E3C #19297E
split-complementary
#7E195B #297E19 #197E6F
monochromatic
#1A0512 #4B0F36 #7E195B #B12380 #D83AA1

Accessibility & contrast

On white

9.65
#7E195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E195B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E195B#FFFFFF#000000##FFFFFF
##7E195B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#871638
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e195b;
/* rgb */ color: rgb(126, 25, 91);
/* oklch */ color: oklch(40.9% 0.150 345.9);
Tailwind
colors: {
  custom: {
    50: '#a76289',
    500: '#7e195b',
    950: '#000000',
  },
}
SCSS
$custom: #7e195b;
$custom-light: #a76289;
$custom-dark: #000000;
JSON
{
  "hex": "#7e195b",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 320.792,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.15028,
    "h": 345.9
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#7E195B
secondary
#41B268
accent
#EA7A3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E195B

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

Preview Lab → · Contrast checker → · Palette generator →

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