#7F2247#7F2247

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

Color values

HEX#7F2247
RGBrgb(127, 34, 71)
HSLhsl(336, 58%, 32%)
HSVhsv(336, 73%, 50%)
CMYKcmyk(0%, 73.2%, 44.1%, 50.2%)
CIE-LABlab(29.69, 42.67, 0.26)
CIE-LCHlch(29.69, 42.67, 0.35°)
OKLaboklab(41.1% 0.1308 0.0012)
OKLCHoklch(41.1% 0.131 0.5)
XYZxyz(10.4625, 6.1123, 6.5889)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2247 #227F5A
analogous
#7F2276 #7F2247 #7F2C22
triadic
#7F2247 #477F22 #22477F
tetradic
#7F2247 #767F22 #227F5A #2C227F
square
#7F2247 #767F22 #227F5A #2C227F
split-complementary
#7F2247 #227F2C #22767F
monochromatic
#1E0811 #4F152C #7F2247 #AF2F62 #CF4C80

Accessibility & contrast

On white

9.45
#7F2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2247
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2247#FFFFFF#000000##FFFFFF
##7F22471.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#4F4C45
Tritanopia (blue-blind)
#8A1531
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2247;
/* rgb */ color: rgb(127, 34, 71);
/* oklch */ color: oklch(41.1% 0.131 0.5);
Tailwind
colors: {
  custom: {
    50: '#a8657a',
    500: '#7f2247',
    950: '#000000',
  },
}
SCSS
$custom: #7f2247;
$custom-light: #a8657a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2247",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 336.129,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.411,
    "c": 0.13078,
    "h": 0.5
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#7F2247
secondary
#4BB289
accent
#E1A447
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2247

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

Preview Lab → · Contrast checker → · Palette generator →

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