#7F2B4F#7F2B4F

#7F2B4F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.122 H 357.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7F2B4F
RGBrgb(127, 43, 79)
HSLhsl(334, 49%, 33%)
HSVhsv(334, 66%, 50%)
CMYKcmyk(0%, 66.1%, 37.8%, 50.2%)
CIE-LABlab(31.36, 39.73, -2.56)
CIE-LCHlch(31.36, 39.81, 356.32°)
OKLaboklab(42.42% 0.1214 -0.0062)
OKLCHoklch(42.42% 0.122 357.1)
XYZxyz(11.0282, 6.8055, 8.1284)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B4F #2B7F5B
analogous
#7F2B79 #7F2B4F #7F312B
triadic
#7F2B4F #4F7F2B #2B4F7F
tetradic
#7F2B4F #797F2B #2B7F5B #312B7F
square
#7F2B4F #797F2B #2B7F5B #312B7F
split-complementary
#7F2B4F #2B7F31 #2B797F
monochromatic
#240C16 #511C33 #7F2B4F #AD3A6B #C85C8B

Accessibility & contrast

On white

8.90
#7F2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F2B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B4F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B4F#FFFFFF#000000##FFFFFF
##7F2B4F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4050
Deuteranopia (green-blind)
#50504D
Tritanopia (blue-blind)
#892439
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2b4f;
/* rgb */ color: rgb(127, 43, 79);
/* oklch */ color: oklch(42.4% 0.122 357.1);
Tailwind
colors: {
  custom: {
    50: '#a86a80',
    500: '#7f2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b4f;
$custom-light: #a86a80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b4f",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 334.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.12158,
    "h": 357.1
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#7F2B4F
secondary
#58AE89
accent
#D99E4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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