#7F123D#7F123D

#7F123D is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.144 H 4.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7F123D
RGBrgb(127, 18, 61)
HSLhsl(336, 75%, 28%)
HSVhsv(336, 86%, 50%)
CMYKcmyk(0%, 85.8%, 52%, 50.2%)
CIE-LABlab(27.53, 46.94, 3.82)
CIE-LCHlch(27.53, 47.10, 4.66°)
OKLaboklab(39.41% 0.1439 0.0102)
OKLCHoklch(39.41% 0.144 4.1)
XYZxyz(9.8119, 5.2830, 4.9170)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F123D #127F54
analogous
#7F1273 #7F123D #7F1D12
triadic
#7F123D #3D7F12 #123D7F
tetradic
#7F123D #737F12 #127F54 #1D127F
square
#7F123D #737F12 #127F54 #1D127F
split-complementary
#7F123D #127F1D #12737F
monochromatic
#1B040D #490A23 #7F123D #B51A57 #E12B72

Accessibility & contrast

On white

10.21
#7F123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F123D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F123D#FFFFFF#000000##FFFFFF
##7F123D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333E
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f123d;
/* rgb */ color: rgb(127, 18, 61);
/* oklch */ color: oklch(39.4% 0.144 4.1);
Tailwind
colors: {
  custom: {
    50: '#aa5e72',
    500: '#7f123d',
    950: '#000000',
  },
}
SCSS
$custom: #7f123d;
$custom-light: #aa5e72;
$custom-dark: #000000;
JSON
{
  "hex": "#7f123d",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 336.33,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.14424,
    "h": 4.1
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#7F123D
secondary
#38B584
accent
#F2A836
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F123D

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

Preview Lab → · Contrast checker → · Palette generator →

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