#7F193E#7F193E

#7F193E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.138 H 4.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7F193E
RGBrgb(127, 25, 62)
HSLhsl(338, 67%, 30%)
HSVhsv(338, 80%, 50%)
CMYKcmyk(0%, 80.3%, 51.2%, 50.2%)
CIE-LABlab(28.26, 45.01, 4.21)
CIE-LCHlch(28.26, 45.21, 5.34°)
OKLaboklab(39.96% 0.1378 0.0112)
OKLCHoklch(39.96% 0.138 4.6)
XYZxyz(9.9704, 5.5565, 5.1040)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F193E #197F5A
analogous
#7F1971 #7F193E #7F2719
triadic
#7F193E #3E7F19 #193E7F
tetradic
#7F193E #717F19 #197F5A #27197F
square
#7F193E #717F19 #197F5A #27197F
split-complementary
#7F193E #197F27 #19717F
monochromatic
#1A050C #4C0F25 #7F193E #B22357 #D83A74

Accessibility & contrast

On white

9.95
#7F193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F193E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F193E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F193E#FFFFFF#000000##FFFFFF
##7F193E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#4E4A3C
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f193e;
/* rgb */ color: rgb(127, 25, 62);
/* oklch */ color: oklch(40.0% 0.138 4.6);
Tailwind
colors: {
  custom: {
    50: '#a96173',
    500: '#7f193e',
    950: '#000000',
  },
}
SCSS
$custom: #7f193e;
$custom-light: #a96173;
$custom-dark: #000000;
JSON
{
  "hex": "#7f193e",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 338.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.1382,
    "h": 4.6
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#7F193E
secondary
#41B38A
accent
#EAAC3E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F193E

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

Preview Lab → · Contrast checker → · Palette generator →

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