#7F224D#7F224D

#7F224D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.133 H 356.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F224D
RGBrgb(127, 34, 77)
HSLhsl(332, 58%, 32%)
HSVhsv(332, 73%, 50%)
CMYKcmyk(0%, 73.2%, 39.4%, 50.2%)
CIE-LABlab(29.89, 43.34, -3.41)
CIE-LCHlch(29.89, 43.47, 355.50°)
OKLaboklab(41.31% 0.1329 -0.0084)
OKLCHoklch(41.31% 0.133 356.4)
XYZxyz(10.6647, 6.1932, 7.6535)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F224D #227F54
analogous
#7F227C #7F224D #7F2622
triadic
#7F224D #4D7F22 #224D7F
tetradic
#7F224D #7C7F22 #227F54 #26227F
square
#7F224D #7C7F22 #227F54 #26227F
split-complementary
#7F224D #227F26 #227C7F
monochromatic
#1E0812 #4F1530 #7F224D #AF2F6A #CF4C89

Accessibility & contrast

On white

9.38
#7F224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F224D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F224D#FFFFFF#000000##FFFFFF
##7F224D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4E
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#891834
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f224d;
/* rgb */ color: rgb(127, 34, 77);
/* oklch */ color: oklch(41.3% 0.133 356.4);
Tailwind
colors: {
  custom: {
    50: '#a8657e',
    500: '#7f224d',
    950: '#000000',
  },
}
SCSS
$custom: #7f224d;
$custom-light: #a8657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f224d",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 332.258,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.13314,
    "h": 356.4
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#7F224D
secondary
#4BB282
accent
#E19A47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F224D

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

Preview Lab → · Contrast checker → · Palette generator →

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