#7F2139#7F2139

#7F2139 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.129 H 10.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7F2139
RGBrgb(127, 33, 57)
HSLhsl(345, 59%, 31%)
HSVhsv(345, 74%, 50%)
CMYKcmyk(0%, 74%, 55.1%, 50.2%)
CIE-LABlab(29.15, 41.71, 8.80)
CIE-LCHlch(29.15, 42.63, 11.91°)
OKLaboklab(40.57% 0.1266 0.0224)
OKLCHoklch(40.57% 0.129 10)
XYZxyz(10.0357, 5.8965, 4.4798)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2139 #217F67
analogous
#7F2168 #7F2139 #7F3821
triadic
#7F2139 #397F21 #21397F
tetradic
#7F2139 #687F21 #217F67 #38217F
square
#7F2139 #687F21 #217F67 #38217F
split-complementary
#7F2139 #217F38 #21687F
monochromatic
#1E080D #4E1423 #7F2139 #B02E4F #D04A6C

Accessibility & contrast

On white

9.64
#7F2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2139
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2139#FFFFFF#000000##FFFFFF
##7F21391.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383939
Deuteranopia (green-blind)
#514C37
Tritanopia (blue-blind)
#8B0C2B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2139;
/* rgb */ color: rgb(127, 33, 57);
/* oklch */ color: oklch(40.6% 0.129 10.0);
Tailwind
colors: {
  custom: {
    50: '#a9646f',
    500: '#7f2139',
    950: '#000000',
  },
}
SCSS
$custom: #7f2139;
$custom-light: #a9646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2139",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 344.681,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40566,
    "c": 0.12851,
    "h": 10
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#7F2139
secondary
#4AB297
accent
#E2BA46
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F2139

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

Preview Lab → · Contrast checker → · Palette generator →

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