#7F224F#7F224F

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

Color values

HEX#7F224F
RGBrgb(127, 34, 79)
HSLhsl(331, 58%, 32%)
HSVhsv(331, 73%, 50%)
CMYKcmyk(0%, 73.2%, 37.8%, 50.2%)
CIE-LABlab(29.97, 43.57, -4.62)
CIE-LCHlch(29.97, 43.82, 353.94°)
OKLaboklab(41.39% 0.1335 -0.0116)
OKLCHoklch(41.39% 0.134 355)
XYZxyz(10.7364, 6.2219, 8.0312)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F224F #227F52
analogous
#7F227E #7F224F #7F2422
triadic
#7F224F #4F7F22 #224F7F
tetradic
#7F224F #7E7F22 #227F52 #24227F
square
#7F224F #7E7F22 #227F52 #24227F
split-complementary
#7F224F #227F24 #227E7F
monochromatic
#1E0813 #4F1531 #7F224F #AF2F6D #CF4C8C

Accessibility & contrast

On white

9.36
#7F224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F224F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F224F#FFFFFF#000000##FFFFFF
##7F224F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#891935
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f224f;
/* rgb */ color: rgb(127, 34, 79);
/* oklch */ color: oklch(41.4% 0.134 355.0);
Tailwind
colors: {
  custom: {
    50: '#a86580',
    500: '#7f224f',
    950: '#000000',
  },
}
SCSS
$custom: #7f224f;
$custom-light: #a86580;
$custom-dark: #000000;
JSON
{
  "hex": "#7f224f",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 330.968,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.13403,
    "h": 355
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#7F224F
secondary
#4BB280
accent
#E19647
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F224F

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

Preview Lab → · Contrast checker → · Palette generator →

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