#7F123A#7F123A

#7F123A is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 6.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7F123A
RGBrgb(127, 18, 58)
HSLhsl(338, 75%, 28%)
HSVhsv(338, 86%, 50%)
CMYKcmyk(0%, 85.8%, 54.3%, 50.2%)
CIE-LABlab(27.44, 46.69, 5.73)
CIE-LCHlch(27.44, 47.04, 7.00°)
OKLaboklab(39.31% 0.1427 0.0149)
OKLCHoklch(39.31% 0.143 6)
XYZxyz(9.7333, 5.2515, 4.5033)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F123A #127F57
analogous
#7F1270 #7F123A #7F2112
triadic
#7F123A #3A7F12 #123A7F
tetradic
#7F123A #707F12 #127F57 #21127F
square
#7F123A #707F12 #127F57 #21127F
split-complementary
#7F123A #127F21 #12707F
monochromatic
#1B040C #490A22 #7F123A #B51A52 #E12B6D

Accessibility & contrast

On white

10.24
#7F123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F123A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F123A#FFFFFF#000000##FFFFFF
##7F123A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333B
Deuteranopia (green-blind)
#4D4837
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f123a;
/* rgb */ color: rgb(127, 18, 58);
/* oklch */ color: oklch(39.3% 0.143 6.0);
Tailwind
colors: {
  custom: {
    50: '#aa5e6f',
    500: '#7f123a',
    950: '#000000',
  },
}
SCSS
$custom: #7f123a;
$custom-light: #aa5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f123a",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 337.982,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39314,
    "c": 0.14349,
    "h": 6
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#7F123A
secondary
#38B587
accent
#F2AD36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F123A

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

Preview Lab → · Contrast checker → · Palette generator →

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