#7F124E#7F124E

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

Color values

HEX#7F124E
RGBrgb(127, 18, 78)
HSLhsl(327, 75%, 28%)
HSVhsv(327, 86%, 50%)
CMYKcmyk(0%, 85.8%, 38.6%, 50.2%)
CIE-LABlab(28.10, 48.62, -6.75)
CIE-LCHlch(28.10, 49.09, 352.10°)
OKLaboklab(40.02% 0.1496 -0.0173)
OKLCHoklch(40.02% 0.151 353.4)
XYZxyz(10.3446, 5.4960, 7.7224)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F124E #127F43
analogous
#79127F #7F124E #7F1218
triadic
#7F124E #4E7F12 #124E7F
tetradic
#7F124E #7F7912 #127F43 #12187F
square
#7F124E #7F7912 #127F43 #12187F
split-complementary
#7F124E #187F12 #127F79
monochromatic
#1B0410 #490A2D #7F124E #B51A6F #E12B8F

Accessibility & contrast

On white

10.00
#7F124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F124E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F124E#FFFFFF#000000##FFFFFF
##7F124E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#8A012F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f124e;
/* rgb */ color: rgb(127, 18, 78);
/* oklch */ color: oklch(40.0% 0.151 353.4);
Tailwind
colors: {
  custom: {
    50: '#a95f7f',
    500: '#7f124e',
    950: '#000000',
  },
}
SCSS
$custom: #7f124e;
$custom-light: #a95f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f124e",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 326.972,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.15061,
    "h": 353.4
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#7F124E
secondary
#38B570
accent
#F28A36
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F124E

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

Preview Lab → · Contrast checker → · Palette generator →

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