#7F195C#7F195C

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

Color values

HEX#7F195C
RGBrgb(127, 25, 92)
HSLhsl(321, 67%, 30%)
HSVhsv(321, 80%, 50%)
CMYKcmyk(0%, 80.3%, 27.6%, 50.2%)
CIE-LABlab(29.36, 48.36, -14.07)
CIE-LCHlch(29.36, 50.37, 343.78°)
OKLaboklab(41.12% 0.1469 -0.0374)
OKLCHoklch(41.12% 0.152 345.7)
XYZxyz(11.0323, 5.9812, 10.6966)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F195C #197F3C
analogous
#6F197F #7F195C #7F1929
triadic
#7F195C #5C7F19 #195C7F
tetradic
#7F195C #7F6F19 #197F3C #19297F
square
#7F195C #7F6F19 #197F3C #19297F
split-complementary
#7F195C #297F19 #197F6F
monochromatic
#1A0513 #4C0F37 #7F195C #B22381 #D83AA2

Accessibility & contrast

On white

9.56
#7F195C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F195C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F195C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F195C#FFFFFF#000000##FFFFFF
##7F195C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f195c;
/* rgb */ color: rgb(127, 25, 92);
/* oklch */ color: oklch(41.1% 0.152 345.7);
Tailwind
colors: {
  custom: {
    50: '#a8628a',
    500: '#7f195c',
    950: '#000000',
  },
}
SCSS
$custom: #7f195c;
$custom-light: #a8628a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f195c",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 92
  },
  "hsl": {
    "h": 320.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.15159,
    "h": 345.7
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#7F195C
secondary
#41B368
accent
#EA793E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F195C

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

Preview Lab → · Contrast checker → · Palette generator →

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