#7C195F#7C195F

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

Color values

HEX#7C195F
RGBrgb(124, 25, 95)
HSLhsl(318, 66%, 29%)
HSVhsv(318, 80%, 49%)
CMYKcmyk(0%, 79.8%, 23.4%, 51.4%)
CIE-LABlab(28.92, 47.99, -16.76)
CIE-LCHlch(28.92, 50.83, 340.75°)
OKLaboklab(40.74% 0.1446 -0.0449)
OKLCHoklch(40.74% 0.151 342.7)
XYZxyz(10.7258, 5.8077, 11.3804)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C195F #197C36
analogous
#68197C #7C195F #7C192E
triadic
#7C195F #5F7C19 #195F7C
tetradic
#7C195F #7C6819 #197C36 #192E7C
square
#7C195F #7C6819 #197C36 #192E7C
split-complementary
#7C195F #2E7C19 #197C68
monochromatic
#190514 #490F38 #7C195F #AF2386 #D738A9

Accessibility & contrast

On white

9.72
#7C195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C195F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C195F#FFFFFF#000000##FFFFFF
##7C195F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A61
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#841A3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c195f;
/* rgb */ color: rgb(124, 25, 95);
/* oklch */ color: oklch(40.7% 0.151 342.7);
Tailwind
colors: {
  custom: {
    50: '#a6628c',
    500: '#7c195f',
    950: '#000000',
  },
}
SCSS
$custom: #7c195f;
$custom-light: #a6628c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c195f",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 317.576,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40737,
    "c": 0.15142,
    "h": 342.7
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#7C195F
secondary
#40B061
accent
#E9713E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C195F

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

Preview Lab → · Contrast checker → · Palette generator →

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