#7F1638#7F1638

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

Color values

HEX#7F1638
RGBrgb(127, 22, 56)
HSLhsl(341, 70%, 29%)
HSVhsv(341, 83%, 50%)
CMYKcmyk(0%, 82.7%, 55.9%, 50.2%)
CIE-LABlab(27.77, 45.42, 7.55)
CIE-LCHlch(27.77, 46.04, 9.44°)
OKLaboklab(39.54% 0.1384 0.0193)
OKLCHoklch(39.54% 0.14 7.9)
XYZxyz(9.7540, 5.3728, 4.2640)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1638 #167F5D
analogous
#7F166D #7F1638 #7F2816
triadic
#7F1638 #387F16 #16387F
tetradic
#7F1638 #6D7F16 #167F5D #28167F
square
#7F1638 #6D7F16 #167F5D #28167F
split-complementary
#7F1638 #167F28 #166D7F
monochromatic
#1A050C #4B0D21 #7F1638 #B31F4F #DC346A

Accessibility & contrast

On white

10.12
#7F1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1638
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1638#FFFFFF#000000##FFFFFF
##7F16381.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1638;
/* rgb */ color: rgb(127, 22, 56);
/* oklch */ color: oklch(39.5% 0.140 7.9);
Tailwind
colors: {
  custom: {
    50: '#aa606e',
    500: '#7f1638',
    950: '#000000',
  },
}
SCSS
$custom: #7f1638;
$custom-light: #aa606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1638",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 340.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.1397,
    "h": 7.9
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#7F1638
secondary
#3DB48D
accent
#EDB33B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1638

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

Preview Lab → · Contrast checker → · Palette generator →

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