#7F124B#7F124B

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

Color values

HEX#7F124B
RGBrgb(127, 18, 75)
HSLhsl(329, 75%, 28%)
HSVhsv(329, 86%, 50%)
CMYKcmyk(0%, 85.8%, 40.9%, 50.2%)
CIE-LABlab(27.99, 48.30, -4.91)
CIE-LCHlch(27.99, 48.54, 354.19°)
OKLaboklab(39.9% 0.1487 -0.0123)
OKLCHoklch(39.9% 0.149 355.3)
XYZxyz(10.2394, 5.4540, 7.1688)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F124B #127F46
analogous
#7C127F #7F124B #7F1214
triadic
#7F124B #4B7F12 #124B7F
tetradic
#7F124B #7F7C12 #127F46 #12147F
square
#7F124B #7F7C12 #127F46 #12147F
split-complementary
#7F124B #147F12 #127F7C
monochromatic
#1B0410 #490A2B #7F124B #B51A6B #E12B8A

Accessibility & contrast

On white

10.04
#7F124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F124B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F124B#FFFFFF#000000##FFFFFF
##7F124B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#8A002D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f124b;
/* rgb */ color: rgb(127, 18, 75);
/* oklch */ color: oklch(39.9% 0.149 355.3);
Tailwind
colors: {
  custom: {
    50: '#a95f7d',
    500: '#7f124b',
    950: '#000000',
  },
}
SCSS
$custom: #7f124b;
$custom-light: #a95f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f124b",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 328.624,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.14924,
    "h": 355.3
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#7F124B
secondary
#38B574
accent
#F29036
background
#FAF5F7
surface
#F5EAEE
border
#CFC6C9
text
#110509
muted
#80797B

Preview Lab

Preview with #7F124B

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

Preview Lab → · Contrast checker → · Palette generator →

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