#7F2641#7F2641

#7F2641 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.3% C 0.124 H 5.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7F2641
RGBrgb(127, 38, 65)
HSLhsl(342, 54%, 32%)
HSVhsv(342, 70%, 50%)
CMYKcmyk(0%, 70.1%, 48.8%, 50.2%)
CIE-LABlab(30.11, 40.40, 4.84)
CIE-LCHlch(30.11, 40.69, 6.83°)
OKLaboklab(41.35% 0.1232 0.0128)
OKLCHoklch(41.35% 0.124 5.9)
XYZxyz(10.4005, 6.2812, 5.6647)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2641 #267F64
analogous
#7F266D #7F2641 #7F3826
triadic
#7F2641 #417F26 #26417F
tetradic
#7F2641 #6D7F26 #267F64 #38267F
square
#7F2641 #6D7F26 #267F64 #38267F
split-complementary
#7F2641 #267F38 #266D7F
monochromatic
#210A11 #501829 #7F2641 #AE3459 #CC5478

Accessibility & contrast

On white

9.31
#7F2641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2641
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2641#FFFFFF#000000##FFFFFF
##7F26411.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#514D3F
Tritanopia (blue-blind)
#8A1831
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2641;
/* rgb */ color: rgb(127, 38, 65);
/* oklch */ color: oklch(41.3% 0.124 5.9);
Tailwind
colors: {
  custom: {
    50: '#a96775',
    500: '#7f2641',
    950: '#000000',
  },
}
SCSS
$custom: #7f2641;
$custom-light: #a96775;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2641",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 341.798,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.12388,
    "h": 5.9
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#7F2641
secondary
#51B093
accent
#DDB14A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7F2641

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

Preview Lab → · Contrast checker → · Palette generator →

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