#7F1938#7F1938

#7F1938 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.137 H 8.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7F1938
RGBrgb(127, 25, 56)
HSLhsl(342, 67%, 30%)
HSVhsv(342, 80%, 50%)
CMYKcmyk(0%, 80.3%, 55.9%, 50.2%)
CIE-LABlab(28.10, 44.50, 8.01)
CIE-LCHlch(28.10, 45.21, 10.20°)
OKLaboklab(39.78% 0.1354 0.0204)
OKLCHoklch(39.78% 0.137 8.6)
XYZxyz(9.8148, 5.4942, 4.2843)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1938 #197F60
analogous
#7F196B #7F1938 #7F2D19
triadic
#7F1938 #387F19 #19387F
tetradic
#7F1938 #6B7F19 #197F60 #2D197F
square
#7F1938 #6B7F19 #197F60 #2D197F
split-complementary
#7F1938 #197F2D #196B7F
monochromatic
#1A050B #4C0F21 #7F1938 #B2234F #D83A6A

Accessibility & contrast

On white

10.01
#7F1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1938
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1938#FFFFFF#000000##FFFFFF
##7F19381.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1938;
/* rgb */ color: rgb(127, 25, 56);
/* oklch */ color: oklch(39.8% 0.137 8.6);
Tailwind
colors: {
  custom: {
    50: '#aa616e',
    500: '#7f1938',
    950: '#000000',
  },
}
SCSS
$custom: #7f1938;
$custom-light: #aa616e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1938",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 341.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.13689,
    "h": 8.6
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#7F1938
secondary
#41B390
accent
#EAB63E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1938

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

Preview Lab → · Contrast checker → · Palette generator →

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