#7F1948#7F1948

#7F1948 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 358.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7F1948
RGBrgb(127, 25, 72)
HSLhsl(332, 67%, 30%)
HSVhsv(332, 80%, 50%)
CMYKcmyk(0%, 80.3%, 43.3%, 50.2%)
CIE-LABlab(28.58, 45.99, -2.03)
CIE-LCHlch(28.58, 46.04, 357.47°)
OKLaboklab(40.29% 0.1414 -0.0048)
OKLCHoklch(40.29% 0.141 358.1)
XYZxyz(10.2705, 5.6765, 6.6845)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1948 #197F50
analogous
#7F197B #7F1948 #7F1D19
triadic
#7F1948 #487F19 #19487F
tetradic
#7F1948 #7B7F19 #197F50 #1D197F
square
#7F1948 #7B7F19 #197F50 #1D197F
split-complementary
#7F1948 #197F1D #197B7F
monochromatic
#1A050E #4C0F2B #7F1948 #B22365 #D83A83

Accessibility & contrast

On white

9.84
#7F1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1948
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1948#FFFFFF#000000##FFFFFF
##7F19481.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#4C4A46
Tritanopia (blue-blind)
#8A062E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1948;
/* rgb */ color: rgb(127, 25, 72);
/* oklch */ color: oklch(40.3% 0.141 358.1);
Tailwind
colors: {
  custom: {
    50: '#a9617a',
    500: '#7f1948',
    950: '#000000',
  },
}
SCSS
$custom: #7f1948;
$custom-light: #a9617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1948",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 332.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.14148,
    "h": 358.1
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#7F1948
secondary
#41B37E
accent
#EA9B3E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F1948

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

Preview Lab → · Contrast checker → · Palette generator →

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