#7F124A#7F124A

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

Color values

HEX#7F124A
RGBrgb(127, 18, 74)
HSLhsl(329, 75%, 28%)
HSVhsv(329, 86%, 50%)
CMYKcmyk(0%, 85.8%, 41.7%, 50.2%)
CIE-LABlab(27.95, 48.19, -4.30)
CIE-LCHlch(27.95, 48.38, 354.90°)
OKLaboklab(39.86% 0.1484 -0.0107)
OKLCHoklch(39.86% 0.149 355.9)
XYZxyz(10.2055, 5.4404, 6.9899)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F124A #127F47
analogous
#7D127F #7F124A #7F1214
triadic
#7F124A #4A7F12 #124A7F
tetradic
#7F124A #7F7D12 #127F47 #12147F
square
#7F124A #7F7D12 #127F47 #12147F
split-complementary
#7F124A #147F12 #127F7D
monochromatic
#1B0410 #490A2B #7F124A #B51A69 #E12B88

Accessibility & contrast

On white

10.06
#7F124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F124A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F124A#FFFFFF#000000##FFFFFF
##7F124A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354B
Deuteranopia (green-blind)
#4A4948
Tritanopia (blue-blind)
#8A002D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f124a;
/* rgb */ color: rgb(127, 18, 74);
/* oklch */ color: oklch(39.9% 0.149 355.9);
Tailwind
colors: {
  custom: {
    50: '#a95f7c',
    500: '#7f124a',
    950: '#000000',
  },
}
SCSS
$custom: #7f124a;
$custom-light: #a95f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f124a",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 329.174,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.14881,
    "h": 355.9
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#7F124A
secondary
#38B575
accent
#F29136
background
#FAF5F7
surface
#F5EAEE
border
#CFC6C9
text
#110509
muted
#80797B

Preview Lab

Preview with #7F124A

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

Preview Lab → · Contrast checker → · Palette generator →

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