#7F2F4E#7F2F4E

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

Color values

HEX#7F2F4E
RGBrgb(127, 47, 78)
HSLhsl(337, 46%, 34%)
HSVhsv(337, 63%, 50%)
CMYKcmyk(0%, 63%, 38.6%, 50.2%)
CIE-LABlab(32.03, 37.72, -0.93)
CIE-LCHlch(32.03, 37.73, 358.59°)
OKLaboklab(42.9% 0.1151 -0.0019)
OKLCHoklch(42.9% 0.115 359)
XYZxyz(11.1447, 7.0963, 7.9891)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F4E #2F7F60
analogous
#7F2F76 #7F2F4E #7F382F
triadic
#7F2F4E #4E7F2F #2F4E7F
tetradic
#7F2F4E #767F2F #2F7F60 #382F7F
square
#7F2F4E #767F2F #2F7F60 #382F7F
split-complementary
#7F2F4E #2F7F38 #2F767F
monochromatic
#260E17 #521E33 #7F2F4E #AC4069 #C56389

Accessibility & contrast

On white

8.68
#7F2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2F4E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F4E#FFFFFF#000000##FFFFFF
##7F2F4E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2f4e;
/* rgb */ color: rgb(127, 47, 78);
/* oklch */ color: oklch(42.9% 0.115 359.0);
Tailwind
colors: {
  custom: {
    50: '#a76c7f',
    500: '#7f2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f4e;
$custom-light: #a76c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f4e",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 336.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.11516,
    "h": 359
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#7F2F4E
secondary
#5EAC8E
accent
#D6A352
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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