#7F2A46#7F2A46

#7F2A46 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 42.0% C 0.120 H 3.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7F2A46
RGBrgb(127, 42, 70)
HSLhsl(340, 50%, 33%)
HSVhsv(340, 67%, 50%)
CMYKcmyk(0%, 66.9%, 44.9%, 50.2%)
CIE-LABlab(30.91, 39.15, 2.68)
CIE-LCHlch(30.91, 39.24, 3.92°)
OKLaboklab(41.99% 0.1196 0.0074)
OKLCHoklch(41.99% 0.12 3.5)
XYZxyz(10.6866, 6.6114, 6.5065)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A46 #2A7F63
analogous
#7F2A70 #7F2A46 #7F382A
triadic
#7F2A46 #467F2A #2A467F
tetradic
#7F2A46 #707F2A #2A7F63 #382A7F
square
#7F2A46 #707F2A #2A7F63 #382A7F
split-complementary
#7F2A46 #2A7F38 #2A707F
monochromatic
#230C13 #511B2D #7F2A46 #AD395F #C95B7F

Accessibility & contrast

On white

9.04
#7F2A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A46
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A46#FFFFFF#000000##FFFFFF
##7F2A461.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E47
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#8A1F35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2a46;
/* rgb */ color: rgb(127, 42, 70);
/* oklch */ color: oklch(42.0% 0.120 3.5);
Tailwind
colors: {
  custom: {
    50: '#a86979',
    500: '#7f2a46',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a46;
$custom-light: #a86979;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a46",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 340.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.11978,
    "h": 3.5
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#7F2A46
secondary
#57AE91
accent
#DAAC4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2A46

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

Preview Lab → · Contrast checker → · Palette generator →

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