#7F224A#7F224A

#7F224A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.132 H 358.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F224A
RGBrgb(127, 34, 74)
HSLhsl(334, 58%, 32%)
HSVhsv(334, 73%, 50%)
CMYKcmyk(0%, 73.2%, 41.7%, 50.2%)
CIE-LABlab(29.79, 43.00, -1.58)
CIE-LCHlch(29.79, 43.03, 357.90°)
OKLaboklab(41.21% 0.1318 -0.0036)
OKLCHoklch(41.21% 0.132 358.4)
XYZxyz(10.5612, 6.1518, 7.1085)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F224A #227F57
analogous
#7F2279 #7F224A #7F2922
triadic
#7F224A #4A7F22 #224A7F
tetradic
#7F224A #797F22 #227F57 #29227F
square
#7F224A #797F22 #227F57 #29227F
split-complementary
#7F224A #227F29 #22797F
monochromatic
#1E0812 #4F152E #7F224A #AF2F66 #CF4C85

Accessibility & contrast

On white

9.42
#7F224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F224A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F224A#FFFFFF#000000##FFFFFF
##7F224A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#4E4D48
Tritanopia (blue-blind)
#8A1733
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f224a;
/* rgb */ color: rgb(127, 34, 74);
/* oklch */ color: oklch(41.2% 0.132 358.4);
Tailwind
colors: {
  custom: {
    50: '#a8657c',
    500: '#7f224a',
    950: '#000000',
  },
}
SCSS
$custom: #7f224a;
$custom-light: #a8657c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f224a",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 334.194,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.13189,
    "h": 358.4
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#7F224A
secondary
#4BB286
accent
#E19F47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F224A

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

Preview Lab → · Contrast checker → · Palette generator →

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