#7F123C#7F123C

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

Color values

HEX#7F123C
RGBrgb(127, 18, 60)
HSLhsl(337, 75%, 28%)
HSVhsv(337, 86%, 50%)
CMYKcmyk(0%, 85.8%, 52.8%, 50.2%)
CIE-LABlab(27.50, 46.85, 4.46)
CIE-LCHlch(27.50, 47.07, 5.44°)
OKLaboklab(39.37% 0.1435 0.0118)
OKLCHoklch(39.37% 0.144 4.7)
XYZxyz(9.7852, 5.2723, 4.7765)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F123C #127F55
analogous
#7F1272 #7F123C #7F1F12
triadic
#7F123C #3C7F12 #123C7F
tetradic
#7F123C #727F12 #127F55 #1F127F
square
#7F123C #727F12 #127F55 #1F127F
split-complementary
#7F123C #127F1F #12727F
monochromatic
#1B040D #490A23 #7F123C #B51A55 #E12B71

Accessibility & contrast

On white

10.22
#7F123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F123C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F123C#FFFFFF#000000##FFFFFF
##7F123C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333D
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f123c;
/* rgb */ color: rgb(127, 18, 60);
/* oklch */ color: oklch(39.4% 0.144 4.7);
Tailwind
colors: {
  custom: {
    50: '#aa5e71',
    500: '#7f123c',
    950: '#000000',
  },
}
SCSS
$custom: #7f123c;
$custom-light: #aa5e71;
$custom-dark: #000000;
JSON
{
  "hex": "#7f123c",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 336.881,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.14398,
    "h": 4.7
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#7F123C
secondary
#38B585
accent
#F2A936
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F123C

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

Preview Lab → · Contrast checker → · Palette generator →

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