#7F1038#7F1038

#7F1038 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.145 H 6.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7F1038
RGBrgb(127, 16, 56)
HSLhsl(338, 78%, 28%)
HSVhsv(338, 87%, 50%)
CMYKcmyk(0%, 87.4%, 55.9%, 50.2%)
CIE-LABlab(27.21, 47.01, 6.77)
CIE-LCHlch(27.21, 47.50, 8.19°)
OKLaboklab(39.13% 0.1435 0.0174)
OKLCHoklch(39.13% 0.145 6.9)
XYZxyz(9.6524, 5.1696, 4.2302)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1038 #107F57
analogous
#7F106F #7F1038 #7F1F10
triadic
#7F1038 #387F10 #10387F
tetradic
#7F1038 #6F7F10 #107F57 #1F107F
square
#7F1038 #6F7F10 #107F57 #1F107F
split-complementary
#7F1038 #107F1F #106F7F
monochromatic
#1B030C #490920 #7F1038 #B51750 #E4266A

Accessibility & contrast

On white

10.33
#7F1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1038
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1038#FFFFFF#000000##FFFFFF
##7F10381.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1038;
/* rgb */ color: rgb(127, 16, 56);
/* oklch */ color: oklch(39.1% 0.145 6.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e6e',
    500: '#7f1038',
    950: '#000000',
  },
}
SCSS
$custom: #7f1038;
$custom-light: #aa5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1038",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 338.378,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.14457,
    "h": 6.9
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#7F1038
secondary
#36B587
accent
#F4AF34
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1038

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

Preview Lab → · Contrast checker → · Palette generator →

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