#7F123E#7F123E

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

Color values

HEX#7F123E
RGBrgb(127, 18, 62)
HSLhsl(336, 75%, 28%)
HSVhsv(336, 86%, 50%)
CMYKcmyk(0%, 85.8%, 51.2%, 50.2%)
CIE-LABlab(27.56, 47.03, 3.19)
CIE-LCHlch(27.56, 47.14, 3.88°)
OKLaboklab(39.44% 0.1443 0.0086)
OKLCHoklch(39.44% 0.145 3.4)
XYZxyz(9.8391, 5.2938, 5.0602)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F123E #127F53
analogous
#7F1274 #7F123E #7F1D12
triadic
#7F123E #3E7F12 #123E7F
tetradic
#7F123E #747F12 #127F53 #1D127F
square
#7F123E #747F12 #127F53 #1D127F
split-complementary
#7F123E #127F1D #12747F
monochromatic
#1B040D #490A24 #7F123E #B51A58 #E12B74

Accessibility & contrast

On white

10.20
#7F123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F123E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F123E#FFFFFF#000000##FFFFFF
##7F123E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F343F
Deuteranopia (green-blind)
#4C493B
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f123e;
/* rgb */ color: rgb(127, 18, 62);
/* oklch */ color: oklch(39.4% 0.145 3.4);
Tailwind
colors: {
  custom: {
    50: '#aa5e73',
    500: '#7f123e',
    950: '#000000',
  },
}
SCSS
$custom: #7f123e;
$custom-light: #aa5e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7f123e",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 335.78,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.14452,
    "h": 3.4
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#7F123E
secondary
#38B582
accent
#F2A636
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110508
muted
#80797B

Preview Lab

Preview with #7F123E

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

Preview Lab → · Contrast checker → · Palette generator →

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