#7F1F5E#7F1F5E

#7F1F5E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.146 H 345.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1F5E
RGBrgb(127, 31, 94)
HSLhsl(321, 61%, 31%)
HSVhsv(321, 76%, 50%)
CMYKcmyk(0%, 75.6%, 26%, 50.2%)
CIE-LABlab(30.16, 46.62, -14.15)
CIE-LCHlch(30.16, 48.72, 343.11°)
OKLaboklab(41.73% 0.1411 -0.0376)
OKLCHoklch(41.73% 0.146 345.1)
XYZxyz(11.2632, 6.3014, 11.2106)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F5E #1F7F40
analogous
#701F7F #7F1F5E #7F1F2E
triadic
#7F1F5E #5E7F1F #1F5E7F
tetradic
#7F1F5E #7F701F #1F7F40 #1F2E7F
square
#7F1F5E #7F701F #1F7F40 #1F2E7F
split-complementary
#7F1F5E #2E7F1F #1F7F70
monochromatic
#1D0715 #4E133A #7F1F5E #B02B82 #D246A2

Accessibility & contrast

On white

9.29
#7F1F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F5E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F5E#FFFFFF#000000##FFFFFF
##7F1F5E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#881E3C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1f5e;
/* rgb */ color: rgb(127, 31, 94);
/* oklch */ color: oklch(41.7% 0.146 345.1);
Tailwind
colors: {
  custom: {
    50: '#a8648b',
    500: '#7f1f5e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f5e;
$custom-light: #a8648b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f5e",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 320.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.14604,
    "h": 345.1
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#7F1F5E
secondary
#48B26C
accent
#E47B44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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