#7F2A47#7F2A47

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

Color values

HEX#7F2A47
RGBrgb(127, 42, 71)
HSLhsl(340, 50%, 33%)
HSVhsv(340, 67%, 50%)
CMYKcmyk(0%, 66.9%, 44.1%, 50.2%)
CIE-LABlab(30.94, 39.26, 2.07)
CIE-LCHlch(30.94, 39.31, 3.01°)
OKLaboklab(42.02% 0.1199 0.0058)
OKLCHoklch(42.02% 0.12 2.8)
XYZxyz(10.7184, 6.6242, 6.6742)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A47 #2A7F62
analogous
#7F2A71 #7F2A47 #7F372A
triadic
#7F2A47 #477F2A #2A477F
tetradic
#7F2A47 #717F2A #2A7F62 #372A7F
square
#7F2A47 #717F2A #2A7F62 #372A7F
split-complementary
#7F2A47 #2A7F37 #2A717F
monochromatic
#230C14 #511B2D #7F2A47 #AD3961 #C95B80

Accessibility & contrast

On white

9.03
#7F2A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A47
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A47#FFFFFF#000000##FFFFFF
##7F2A471.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#8A2035
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2a47;
/* rgb */ color: rgb(127, 42, 71);
/* oklch */ color: oklch(42.0% 0.120 2.8);
Tailwind
colors: {
  custom: {
    50: '#a8697a',
    500: '#7f2a47',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a47;
$custom-light: #a8697a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a47",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 339.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.12007,
    "h": 2.8
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#7F2A47
secondary
#57AE90
accent
#DAAA4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2A47

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

Preview Lab → · Contrast checker → · Palette generator →

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