#7C195E#7C195E

#7C195E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.151 H 343.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7C195E
RGBrgb(124, 25, 94)
HSLhsl(318, 66%, 29%)
HSVhsv(318, 80%, 49%)
CMYKcmyk(0%, 79.8%, 24.2%, 51.4%)
CIE-LABlab(28.88, 47.85, -16.18)
CIE-LCHlch(28.88, 50.51, 341.32°)
OKLaboklab(40.69% 0.1444 -0.0433)
OKLCHoklch(40.69% 0.151 343.3)
XYZxyz(10.6806, 5.7896, 11.1425)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C195E #197C37
analogous
#69197C #7C195E #7C192D
triadic
#7C195E #5E7C19 #195E7C
tetradic
#7C195E #7C6919 #197C37 #192D7C
square
#7C195E #7C6919 #197C37 #192D7C
split-complementary
#7C195E #2D7C19 #197C69
monochromatic
#190513 #490F37 #7C195E #AF2385 #D738A7

Accessibility & contrast

On white

9.73
#7C195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C195E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C195E#FFFFFF#000000##FFFFFF
##7C195E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#84193A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c195e;
/* rgb */ color: rgb(124, 25, 94);
/* oklch */ color: oklch(40.7% 0.151 343.3);
Tailwind
colors: {
  custom: {
    50: '#a6628b',
    500: '#7c195e',
    950: '#000000',
  },
}
SCSS
$custom: #7c195e;
$custom-light: #a6628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c195e",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 318.182,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.15078,
    "h": 343.3
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#7C195E
secondary
#40B062
accent
#E9723E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C195E

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

Preview Lab → · Contrast checker → · Palette generator →

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