#7F224E#7F224E

#7F224E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.134 H 355.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F224E
RGBrgb(127, 34, 78)
HSLhsl(332, 58%, 32%)
HSVhsv(332, 73%, 50%)
CMYKcmyk(0%, 73.2%, 38.6%, 50.2%)
CIE-LABlab(29.93, 43.46, -4.02)
CIE-LCHlch(29.93, 43.64, 354.72°)
OKLaboklab(41.35% 0.1332 -0.01)
OKLCHoklch(41.35% 0.134 355.7)
XYZxyz(10.7003, 6.2074, 7.8409)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F224E #227F53
analogous
#7F227D #7F224E #7F2522
triadic
#7F224E #4E7F22 #224E7F
tetradic
#7F224E #7D7F22 #227F53 #25227F
square
#7F224E #7D7F22 #227F53 #25227F
split-complementary
#7F224E #227F25 #227D7F
monochromatic
#1E0813 #4F1530 #7F224E #AF2F6C #CF4C8A

Accessibility & contrast

On white

9.37
#7F224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F224E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F224E#FFFFFF#000000##FFFFFF
##7F224E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#891935
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f224e;
/* rgb */ color: rgb(127, 34, 78);
/* oklch */ color: oklch(41.4% 0.134 355.7);
Tailwind
colors: {
  custom: {
    50: '#a8657f',
    500: '#7f224e',
    950: '#000000',
  },
}
SCSS
$custom: #7f224e;
$custom-light: #a8657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f224e",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 331.613,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.13358,
    "h": 355.7
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#7F224E
secondary
#4BB281
accent
#E19847
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F224E

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

Preview Lab → · Contrast checker → · Palette generator →

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