#7F124D#7F124D

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

Color values

HEX#7F124D
RGBrgb(127, 18, 77)
HSLhsl(328, 75%, 28%)
HSVhsv(328, 86%, 50%)
CMYKcmyk(0%, 85.8%, 39.4%, 50.2%)
CIE-LABlab(28.07, 48.51, -6.14)
CIE-LCHlch(28.07, 48.90, 352.79°)
OKLaboklab(39.98% 0.1493 -0.0156)
OKLCHoklch(39.98% 0.15 354)
XYZxyz(10.3090, 5.4818, 7.5350)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F124D #127F44
analogous
#7A127F #7F124D #7F1216
triadic
#7F124D #4D7F12 #124D7F
tetradic
#7F124D #7F7A12 #127F44 #12167F
square
#7F124D #7F7A12 #127F44 #12167F
split-complementary
#7F124D #167F12 #127F7A
monochromatic
#1B0410 #490A2C #7F124D #B51A6D #E12B8D

Accessibility & contrast

On white

10.02
#7F124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F124D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F124D#FFFFFF#000000##FFFFFF
##7F124D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#8A002E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f124d;
/* rgb */ color: rgb(127, 18, 77);
/* oklch */ color: oklch(40.0% 0.150 354.0);
Tailwind
colors: {
  custom: {
    50: '#a95f7e',
    500: '#7f124d',
    950: '#000000',
  },
}
SCSS
$custom: #7f124d;
$custom-light: #a95f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f124d",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 327.523,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.15014,
    "h": 354
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#7F124D
secondary
#38B571
accent
#F28C36
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7F124D

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

Preview Lab → · Contrast checker → · Palette generator →

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