#7F1F53#7F1F53

#7F1F53 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.140 H 351.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7F1F53
RGBrgb(127, 31, 83)
HSLhsl(328, 61%, 31%)
HSVhsv(328, 76%, 50%)
CMYKcmyk(0%, 75.6%, 34.6%, 50.2%)
CIE-LABlab(29.71, 45.19, -7.64)
CIE-LCHlch(29.71, 45.83, 350.40°)
OKLaboklab(41.25% 0.1383 -0.0197)
OKLCHoklch(41.25% 0.14 351.9)
XYZxyz(10.8043, 6.1178, 8.7938)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F53 #1F7F4B
analogous
#7B1F7F #7F1F53 #7F1F23
triadic
#7F1F53 #537F1F #1F537F
tetradic
#7F1F53 #7F7B1F #1F7F4B #1F237F
square
#7F1F53 #7F7B1F #1F7F4B #1F237F
split-complementary
#7F1F53 #237F1F #1F7F7B
monochromatic
#1D0713 #4E1333 #7F1F53 #B02B73 #D24692

Accessibility & contrast

On white

9.44
#7F1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F53
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F53#FFFFFF#000000##FFFFFF
##7F1F531.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B54
Deuteranopia (green-blind)
#4B4C51
Tritanopia (blue-blind)
#891836
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1f53;
/* rgb */ color: rgb(127, 31, 83);
/* oklch */ color: oklch(41.2% 0.140 351.9);
Tailwind
colors: {
  custom: {
    50: '#a86483',
    500: '#7f1f53',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f53;
$custom-light: #a86483;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f53",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 327.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.13973,
    "h": 351.9
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#7F1F53
secondary
#48B278
accent
#E48D44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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