#7F1F63#7F1F63

#7F1F63 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 342.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7F1F63
RGBrgb(127, 31, 99)
HSLhsl(318, 61%, 31%)
HSVhsv(318, 76%, 50%)
CMYKcmyk(0%, 75.6%, 22%, 50.2%)
CIE-LABlab(30.39, 47.33, -17.05)
CIE-LCHlch(30.39, 50.30, 340.19°)
OKLaboklab(41.96% 0.1421 -0.0457)
OKLCHoklch(41.96% 0.149 342.2)
XYZxyz(11.4949, 6.3940, 12.4308)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F63 #1F7F3B
analogous
#6B1F7F #7F1F63 #7F1F33
triadic
#7F1F63 #637F1F #1F637F
tetradic
#7F1F63 #7F6B1F #1F7F3B #1F337F
square
#7F1F63 #7F6B1F #1F7F3B #1F337F
split-complementary
#7F1F63 #337F1F #1F7F6B
monochromatic
#1D0716 #4E133D #7F1F63 #B02B89 #D246A9

Accessibility & contrast

On white

9.22
#7F1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F63
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F63#FFFFFF#000000##FFFFFF
##7F1F631.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E65
Deuteranopia (green-blind)
#464D61
Tritanopia (blue-blind)
#87203E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1f63;
/* rgb */ color: rgb(127, 31, 99);
/* oklch */ color: oklch(42.0% 0.149 342.2);
Tailwind
colors: {
  custom: {
    50: '#a8658f',
    500: '#7f1f63',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f63;
$custom-light: #a8658f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f63",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 317.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41964,
    "c": 0.14928,
    "h": 342.2
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7F1F63
secondary
#48B267
accent
#E47344
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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