#7F123B#7F123B

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

Color values

HEX#7F123B
RGBrgb(127, 18, 59)
HSLhsl(337, 75%, 28%)
HSVhsv(337, 86%, 50%)
CMYKcmyk(0%, 85.8%, 53.5%, 50.2%)
CIE-LABlab(27.47, 46.77, 5.09)
CIE-LCHlch(27.47, 47.05, 6.22°)
OKLaboklab(39.34% 0.1431 0.0133)
OKLCHoklch(39.34% 0.144 5.3)
XYZxyz(9.7590, 5.2618, 4.6386)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F123B #127F56
analogous
#7F1271 #7F123B #7F1F12
triadic
#7F123B #3B7F12 #123B7F
tetradic
#7F123B #717F12 #127F56 #1F127F
square
#7F123B #717F12 #127F56 #1F127F
split-complementary
#7F123B #127F1F #12717F
monochromatic
#1B040C #490A22 #7F123B #B51A54 #E12B6F

Accessibility & contrast

On white

10.23
#7F123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F123B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F123B#FFFFFF#000000##FFFFFF
##7F123B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f123b;
/* rgb */ color: rgb(127, 18, 59);
/* oklch */ color: oklch(39.3% 0.144 5.3);
Tailwind
colors: {
  custom: {
    50: '#aa5e70',
    500: '#7f123b',
    950: '#000000',
  },
}
SCSS
$custom: #7f123b;
$custom-light: #aa5e70;
$custom-dark: #000000;
JSON
{
  "hex": "#7f123b",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 337.431,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.14373,
    "h": 5.3
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#7F123B
secondary
#38B586
accent
#F2AB36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F123B

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

Preview Lab → · Contrast checker → · Palette generator →

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