#7F124F#7F124F

#7F124F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.151 H 352.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7F124F
RGBrgb(127, 18, 79)
HSLhsl(326, 75%, 28%)
HSVhsv(326, 86%, 50%)
CMYKcmyk(0%, 85.8%, 37.8%, 50.2%)
CIE-LABlab(28.14, 48.73, -7.35)
CIE-LCHlch(28.14, 49.28, 351.42°)
OKLaboklab(40.06% 0.1499 -0.0189)
OKLCHoklch(40.06% 0.151 352.8)
XYZxyz(10.3807, 5.5105, 7.9126)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F124F #127F42
analogous
#78127F #7F124F #7F1218
triadic
#7F124F #4F7F12 #124F7F
tetradic
#7F124F #7F7812 #127F42 #12187F
square
#7F124F #7F7812 #127F42 #12187F
split-complementary
#7F124F #187F12 #127F78
monochromatic
#1B0411 #490A2E #7F124F #B51A70 #E12B91

Accessibility & contrast

On white

9.99
#7F124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F124F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F124F#FFFFFF#000000##FFFFFF
##7F124F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#89022F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f124f;
/* rgb */ color: rgb(127, 18, 79);
/* oklch */ color: oklch(40.1% 0.151 352.8);
Tailwind
colors: {
  custom: {
    50: '#a95f80',
    500: '#7f124f',
    950: '#000000',
  },
}
SCSS
$custom: #7f124f;
$custom-light: #a95f80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f124f",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 326.422,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.15109,
    "h": 352.8
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#7F124F
secondary
#38B56F
accent
#F28936
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F124F

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

Preview Lab → · Contrast checker → · Palette generator →

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