#7F2A4B#7F2A4B

#7F2A4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.121 H 359.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7F2A4B
RGBrgb(127, 42, 75)
HSLhsl(337, 50%, 33%)
HSVhsv(337, 67%, 50%)
CMYKcmyk(0%, 66.9%, 40.9%, 50.2%)
CIE-LABlab(31.06, 39.71, -0.38)
CIE-LCHlch(31.06, 39.71, 359.45°)
OKLaboklab(42.15% 0.1214 -0.0005)
OKLCHoklch(42.15% 0.121 359.8)
XYZxyz(10.8511, 6.6772, 7.3726)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A4B #2A7F5E
analogous
#7F2A75 #7F2A4B #7F332A
triadic
#7F2A4B #4B7F2A #2A4B7F
tetradic
#7F2A4B #757F2A #2A7F5E #332A7F
square
#7F2A4B #757F2A #2A7F5E #332A7F
split-complementary
#7F2A4B #2A7F33 #2A757F
monochromatic
#230C15 #511B30 #7F2A4B #AD3966 #C95B85

Accessibility & contrast

On white

8.99
#7F2A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F2A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A4B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A4B#FFFFFF#000000##FFFFFF
##7F2A4B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#514F49
Tritanopia (blue-blind)
#892137
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2a4b;
/* rgb */ color: rgb(127, 42, 75);
/* oklch */ color: oklch(42.2% 0.121 359.8);
Tailwind
colors: {
  custom: {
    50: '#a8697d',
    500: '#7f2a4b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a4b;
$custom-light: #a8697d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a4b",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 336.706,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42153,
    "c": 0.12143,
    "h": 359.8
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#7F2A4B
secondary
#57AE8C
accent
#DAA44E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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