#7F2A42#7F2A42

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

Color values

HEX#7F2A42
RGBrgb(127, 42, 66)
HSLhsl(343, 50%, 33%)
HSVhsv(343, 67%, 50%)
CMYKcmyk(0%, 66.9%, 48%, 50.2%)
CIE-LABlab(30.79, 38.72, 5.15)
CIE-LCHlch(30.79, 39.06, 7.57°)
OKLaboklab(41.86% 0.118 0.0135)
OKLCHoklch(41.86% 0.119 6.5)
XYZxyz(10.5645, 6.5626, 5.8636)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A42 #2A7F67
analogous
#7F2A6C #7F2A42 #7F3C2A
triadic
#7F2A42 #427F2A #2A427F
tetradic
#7F2A42 #6C7F2A #2A7F67 #3C2A7F
square
#7F2A42 #6C7F2A #2A7F67 #3C2A7F
split-complementary
#7F2A42 #2A7F3C #2A6C7F
monochromatic
#230C12 #511B2A #7F2A42 #AD395A #C95B7A

Accessibility & contrast

On white

9.08
#7F2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A42
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A42#FFFFFF#000000##FFFFFF
##7F2A421.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#8A1E33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2a42;
/* rgb */ color: rgb(127, 42, 66);
/* oklch */ color: oklch(41.9% 0.119 6.5);
Tailwind
colors: {
  custom: {
    50: '#a86976',
    500: '#7f2a42',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a42;
$custom-light: #a86976;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a42",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 343.059,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.11874,
    "h": 6.5
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#7F2A42
secondary
#57AE95
accent
#DAB24E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7F2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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