#7F124C#7F124C

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

Color values

HEX#7F124C
RGBrgb(127, 18, 76)
HSLhsl(328, 75%, 28%)
HSVhsv(328, 86%, 50%)
CMYKcmyk(0%, 85.8%, 40.2%, 50.2%)
CIE-LABlab(28.03, 48.40, -5.53)
CIE-LCHlch(28.03, 48.72, 353.49°)
OKLaboklab(39.94% 0.149 -0.014)
OKLCHoklch(39.94% 0.15 354.6)
XYZxyz(10.2739, 5.4678, 7.3504)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F124C #127F45
analogous
#7B127F #7F124C #7F1216
triadic
#7F124C #4C7F12 #124C7F
tetradic
#7F124C #7F7B12 #127F45 #12167F
square
#7F124C #7F7B12 #127F45 #12167F
split-complementary
#7F124C #167F12 #127F7B
monochromatic
#1B0410 #490A2C #7F124C #B51A6C #E12B8C

Accessibility & contrast

On white

10.03
#7F124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F124C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F124C#FFFFFF#000000##FFFFFF
##7F124C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f124c;
/* rgb */ color: rgb(127, 18, 76);
/* oklch */ color: oklch(39.9% 0.150 354.6);
Tailwind
colors: {
  custom: {
    50: '#a95f7e',
    500: '#7f124c',
    950: '#000000',
  },
}
SCSS
$custom: #7f124c;
$custom-light: #a95f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f124c",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 328.073,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.14968,
    "h": 354.6
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#7F124C
secondary
#38B572
accent
#F28E36
background
#FAF5F7
surface
#F5EAEE
border
#CFC6C9
text
#110509
muted
#80797B

Preview Lab

Preview with #7F124C

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

Preview Lab → · Contrast checker → · Palette generator →

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