#7F2149#7F2149

#7F2149 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.133 H 358.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7F2149
RGBrgb(127, 33, 73)
HSLhsl(334, 59%, 31%)
HSVhsv(334, 74%, 50%)
CMYKcmyk(0%, 74%, 42.5%, 50.2%)
CIE-LABlab(29.62, 43.28, -1.17)
CIE-LCHlch(29.62, 43.29, 358.45°)
OKLaboklab(41.07% 0.1327 -0.0026)
OKLCHoklch(41.07% 0.133 358.9)
XYZxyz(10.4996, 6.0821, 6.9231)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2149 #217F57
analogous
#7F2178 #7F2149 #7F2821
triadic
#7F2149 #497F21 #21497F
tetradic
#7F2149 #787F21 #217F57 #28217F
square
#7F2149 #787F21 #217F57 #28217F
split-complementary
#7F2149 #217F28 #21787F
monochromatic
#1E0811 #4E142D #7F2149 #B02E65 #D04A83

Accessibility & contrast

On white

9.48
#7F2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2149
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2149#FFFFFF#000000##FFFFFF
##7F21491.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#4E4C47
Tritanopia (blue-blind)
#8A1532
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2149;
/* rgb */ color: rgb(127, 33, 73);
/* oklch */ color: oklch(41.1% 0.133 358.9);
Tailwind
colors: {
  custom: {
    50: '#a8657b',
    500: '#7f2149',
    950: '#000000',
  },
}
SCSS
$custom: #7f2149;
$custom-light: #a8657b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2149",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 334.468,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.13276,
    "h": 358.9
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#7F2149
secondary
#4AB286
accent
#E2A046
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2149

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

Preview Lab → · Contrast checker → · Palette generator →

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