#7F2F4F#7F2F4F

#7F2F4F is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.116 H 358.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7F2F4F
RGBrgb(127, 47, 79)
HSLhsl(336, 46%, 34%)
HSVhsv(336, 63%, 50%)
CMYKcmyk(0%, 63%, 37.8%, 50.2%)
CIE-LABlab(32.06, 37.84, -1.53)
CIE-LCHlch(32.06, 37.88, 357.69°)
OKLaboklab(42.94% 0.1155 -0.0035)
OKLCHoklch(42.94% 0.116 358.2)
XYZxyz(11.1808, 7.1108, 8.1793)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F4F #2F7F5F
analogous
#7F2F77 #7F2F4F #7F372F
triadic
#7F2F4F #4F7F2F #2F4F7F
tetradic
#7F2F4F #777F2F #2F7F5F #372F7F
square
#7F2F4F #777F2F #2F7F5F #372F7F
split-complementary
#7F2F4F #2F7F37 #2F777F
monochromatic
#260E17 #521E33 #7F2F4F #AC406B #C5638A

Accessibility & contrast

On white

8.67
#7F2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F4F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F4F#FFFFFF#000000##FFFFFF
##7F2F4F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#89283B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2f4f;
/* rgb */ color: rgb(127, 47, 79);
/* oklch */ color: oklch(42.9% 0.116 358.2);
Tailwind
colors: {
  custom: {
    50: '#a76c80',
    500: '#7f2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f4f;
$custom-light: #a76c80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f4f",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 336,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42936,
    "c": 0.11556,
    "h": 358.2
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#7F2F4F
secondary
#5EAC8D
accent
#D6A152
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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