#7F1F68#7F1F68

#7F1F68 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.153 H 339.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7F1F68
RGBrgb(127, 31, 104)
HSLhsl(314, 61%, 31%)
HSVhsv(314, 76%, 50%)
CMYKcmyk(0%, 75.6%, 18.1%, 50.2%)
CIE-LABlab(30.62, 48.06, -19.91)
CIE-LCHlch(30.62, 52.02, 337.50°)
OKLaboklab(42.21% 0.1429 -0.0538)
OKLCHoklch(42.21% 0.153 339.4)
XYZxyz(11.7414, 6.4926, 13.7289)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F68 #1F7F36
analogous
#661F7F #7F1F68 #7F1F38
triadic
#7F1F68 #687F1F #1F687F
tetradic
#7F1F68 #7F661F #1F7F36 #1F387F
square
#7F1F68 #7F661F #1F7F36 #1F387F
split-complementary
#7F1F68 #387F1F #1F7F66
monochromatic
#1D0717 #4E1340 #7F1F68 #B02B90 #D246B1

Accessibility & contrast

On white

9.14
#7F1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F1F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F68
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F68#FFFFFF#000000##FFFFFF
##7F1F681.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E6A
Deuteranopia (green-blind)
#444E66
Tritanopia (blue-blind)
#872341
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1f68;
/* rgb */ color: rgb(127, 31, 104);
/* oklch */ color: oklch(42.2% 0.153 339.4);
Tailwind
colors: {
  custom: {
    50: '#a76593',
    500: '#7f1f68',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f68;
$custom-light: #a76593;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f68",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 314.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.15272,
    "h": 339.4
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#7F1F68
secondary
#48B261
accent
#E46A44
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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