#7F193F#7F193F

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

Color values

HEX#7F193F
RGBrgb(127, 25, 63)
HSLhsl(338, 67%, 30%)
HSVhsv(338, 80%, 50%)
CMYKcmyk(0%, 80.3%, 50.4%, 50.2%)
CIE-LABlab(28.29, 45.11, 3.58)
CIE-LCHlch(28.29, 45.25, 4.53°)
OKLaboklab(39.99% 0.1381 0.0096)
OKLCHoklch(39.99% 0.138 4)
XYZxyz(9.9981, 5.5675, 5.2498)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F193F #197F59
analogous
#7F1972 #7F193F #7F2619
triadic
#7F193F #3F7F19 #193F7F
tetradic
#7F193F #727F19 #197F59 #26197F
square
#7F193F #727F19 #197F59 #26197F
split-complementary
#7F193F #197F26 #19727F
monochromatic
#1A050D #4C0F26 #7F193F #B22358 #D83A75

Accessibility & contrast

On white

9.94
#7F193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F193F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F193F#FFFFFF#000000##FFFFFF
##7F193F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#8B002A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f193f;
/* rgb */ color: rgb(127, 25, 63);
/* oklch */ color: oklch(40.0% 0.138 4.0);
Tailwind
colors: {
  custom: {
    50: '#a96173',
    500: '#7f193f',
    950: '#000000',
  },
}
SCSS
$custom: #7f193f;
$custom-light: #a96173;
$custom-dark: #000000;
JSON
{
  "hex": "#7f193f",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 337.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.13847,
    "h": 4
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#7F193F
secondary
#41B388
accent
#EAAA3E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F193F

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

Preview Lab → · Contrast checker → · Palette generator →

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