#7F1639#7F1639

#7F1639 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.140 H 7.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7F1639
RGBrgb(127, 22, 57)
HSLhsl(340, 70%, 29%)
HSVhsv(340, 83%, 50%)
CMYKcmyk(0%, 82.7%, 55.1%, 50.2%)
CIE-LABlab(27.80, 45.50, 6.91)
CIE-LCHlch(27.80, 46.02, 8.64°)
OKLaboklab(39.57% 0.1388 0.0178)
OKLCHoklch(39.57% 0.14 7.3)
XYZxyz(9.7787, 5.3827, 4.3941)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1639 #167F5C
analogous
#7F166E #7F1639 #7F2816
triadic
#7F1639 #397F16 #16397F
tetradic
#7F1639 #6E7F16 #167F5C #28167F
square
#7F1639 #6E7F16 #167F5C #28167F
split-complementary
#7F1639 #167F28 #166E7F
monochromatic
#1A050C #4B0D22 #7F1639 #B31F50 #DC346C

Accessibility & contrast

On white

10.11
#7F1639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1639
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1639#FFFFFF#000000##FFFFFF
##7F16391.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1639;
/* rgb */ color: rgb(127, 22, 57);
/* oklch */ color: oklch(39.6% 0.140 7.3);
Tailwind
colors: {
  custom: {
    50: '#aa606f',
    500: '#7f1639',
    950: '#000000',
  },
}
SCSS
$custom: #7f1639;
$custom-light: #aa606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1639",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 340,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.13989,
    "h": 7.3
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#7F1639
secondary
#3DB48C
accent
#EDB23B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1639

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

Preview Lab → · Contrast checker → · Palette generator →

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