#7F1148#7F1148

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

Color values

HEX#7F1148
RGBrgb(127, 17, 72)
HSLhsl(330, 76%, 28%)
HSVhsv(330, 87%, 50%)
CMYKcmyk(0%, 86.6%, 43.3%, 50.2%)
CIE-LABlab(27.80, 48.23, -3.19)
CIE-LCHlch(27.80, 48.33, 356.21°)
OKLaboklab(39.72% 0.1486 -0.0078)
OKLCHoklch(39.72% 0.149 357)
XYZxyz(10.1233, 5.3822, 6.6354)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1148 #117F48
analogous
#7F117F #7F1148 #7F1111
triadic
#7F1148 #487F11 #11487F
tetradic
#7F1148 #7F7F11 #117F48 #11117F
square
#7F1148 #7F7F11 #117F48 #11117F
split-complementary
#7F1148 #117F11 #117F7F
monochromatic
#1B040F #490A29 #7F1148 #B51867 #E22885

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1148#FFFFFF#000000##FFFFFF
##7F11481.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)
#2C3549
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1148;
/* rgb */ color: rgb(127, 17, 72);
/* oklch */ color: oklch(39.7% 0.149 357.0);
Tailwind
colors: {
  custom: {
    50: '#a95f7a',
    500: '#7f1148',
    950: '#000000',
  },
}
SCSS
$custom: #7f1148;
$custom-light: #a95f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1148",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 330,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.14878,
    "h": 357
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#7F1148
secondary
#37B576
accent
#F39435
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1148

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

Preview Lab → · Contrast checker → · Palette generator →

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