#7F2A44#7F2A44

#7F2A44 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 41.9% C 0.119 H 5.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7F2A44
RGBrgb(127, 42, 68)
HSLhsl(342, 50%, 33%)
HSVhsv(342, 67%, 50%)
CMYKcmyk(0%, 66.9%, 46.5%, 50.2%)
CIE-LABlab(30.85, 38.93, 3.91)
CIE-LCHlch(30.85, 39.13, 5.74°)
OKLaboklab(41.92% 0.1188 0.0105)
OKLCHoklch(41.92% 0.119 5)
XYZxyz(10.6245, 6.5866, 6.1796)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A44 #2A7F65
analogous
#7F2A6E #7F2A44 #7F3A2A
triadic
#7F2A44 #447F2A #2A447F
tetradic
#7F2A44 #6E7F2A #2A7F65 #3A2A7F
square
#7F2A44 #6E7F2A #2A7F65 #3A2A7F
split-complementary
#7F2A44 #2A7F3A #2A6E7F
monochromatic
#230C13 #511B2B #7F2A44 #AD395D #C95B7C

Accessibility & contrast

On white

9.06
#7F2A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A44
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A44#FFFFFF#000000##FFFFFF
##7F2A441.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E45
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#8A1F34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2a44;
/* rgb */ color: rgb(127, 42, 68);
/* oklch */ color: oklch(41.9% 0.119 5.0);
Tailwind
colors: {
  custom: {
    50: '#a86977',
    500: '#7f2a44',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a44;
$custom-light: #a86977;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a44",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 341.647,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41924,
    "c": 0.11923,
    "h": 5
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#7F2A44
secondary
#57AE93
accent
#DAAF4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7F2A44

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

Preview Lab → · Contrast checker → · Palette generator →

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