#7F123F#7F123F

#7F123F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.145 H 2.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7F123F
RGBrgb(127, 18, 63)
HSLhsl(335, 75%, 28%)
HSVhsv(335, 86%, 50%)
CMYKcmyk(0%, 85.8%, 50.4%, 50.2%)
CIE-LABlab(27.59, 47.12, 2.56)
CIE-LCHlch(27.59, 47.19, 3.11°)
OKLaboklab(39.47% 0.1446 0.007)
OKLCHoklch(39.47% 0.145 2.8)
XYZxyz(9.8668, 5.3049, 5.2061)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F123F #127F52
analogous
#7F1275 #7F123F #7F1B12
triadic
#7F123F #3F7F12 #123F7F
tetradic
#7F123F #757F12 #127F52 #1B127F
square
#7F123F #757F12 #127F52 #1B127F
split-complementary
#7F123F #127F1B #12757F
monochromatic
#1B040D #490A24 #7F123F #B51A5A #E12B76

Accessibility & contrast

On white

10.19
#7F123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F123F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F123F#FFFFFF#000000##FFFFFF
##7F123F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3440
Deuteranopia (green-blind)
#4C493C
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f123f;
/* rgb */ color: rgb(127, 18, 63);
/* oklch */ color: oklch(39.5% 0.145 2.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f73',
    500: '#7f123f',
    950: '#000000',
  },
}
SCSS
$custom: #7f123f;
$custom-light: #aa5f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7f123f",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 335.229,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.14481,
    "h": 2.8
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#7F123F
secondary
#38B581
accent
#F2A436
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110508
muted
#80797B

Preview Lab

Preview with #7F123F

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

Preview Lab → · Contrast checker → · Palette generator →

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