#7F1839#7F1839

#7F1839 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.138 H 7.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7F1839
RGBrgb(127, 24, 57)
HSLhsl(341, 68%, 30%)
HSVhsv(341, 81%, 50%)
CMYKcmyk(0%, 81.1%, 55.1%, 50.2%)
CIE-LABlab(28.01, 44.90, 7.21)
CIE-LCHlch(28.01, 45.47, 9.13°)
OKLaboklab(39.73% 0.1368 0.0185)
OKLCHoklch(39.73% 0.138 7.7)
XYZxyz(9.8185, 5.4621, 4.4074)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1839 #187F5E
analogous
#7F186D #7F1839 #7F2B18
triadic
#7F1839 #397F18 #18397F
tetradic
#7F1839 #6D7F18 #187F5E #2B187F
square
#7F1839 #6D7F18 #187F5E #2B187F
split-complementary
#7F1839 #187F2B #186D7F
monochromatic
#1A050C #4C0E22 #7F1839 #B22250 #D9386C

Accessibility & contrast

On white

10.04
#7F1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1839
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1839#FFFFFF#000000##FFFFFF
##7F18391.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353A
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1839;
/* rgb */ color: rgb(127, 24, 57);
/* oklch */ color: oklch(39.7% 0.138 7.7);
Tailwind
colors: {
  custom: {
    50: '#aa606f',
    500: '#7f1839',
    950: '#000000',
  },
}
SCSS
$custom: #7f1839;
$custom-light: #aa606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1839",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 340.777,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.13805,
    "h": 7.7
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#7F1839
secondary
#3FB38E
accent
#EBB33D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1839

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

Preview Lab → · Contrast checker → · Palette generator →

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