#7F1658#7F1658

#7F1658 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.152 H 347.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7F1658
RGBrgb(127, 22, 88)
HSLhsl(322, 70%, 29%)
HSVhsv(322, 83%, 50%)
CMYKcmyk(0%, 82.7%, 30.7%, 50.2%)
CIE-LABlab(28.88, 48.73, -12.19)
CIE-LCHlch(28.88, 50.24, 345.96°)
OKLaboklab(40.71% 0.1488 -0.0321)
OKLCHoklch(40.71% 0.152 347.8)
XYZxyz(10.8013, 5.7917, 9.7797)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1658 #167F3D
analogous
#72167F #7F1658 #7F1623
triadic
#7F1658 #587F16 #16587F
tetradic
#7F1658 #7F7216 #167F3D #16237F
square
#7F1658 #7F7216 #167F3D #16237F
split-complementary
#7F1658 #237F16 #167F72
monochromatic
#1A0512 #4B0D34 #7F1658 #B31F7C #DC349D

Accessibility & contrast

On white

9.73
#7F1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1658
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1658#FFFFFF#000000##FFFFFF
##7F16581.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#891035
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1658;
/* rgb */ color: rgb(127, 22, 88);
/* oklch */ color: oklch(40.7% 0.152 347.8);
Tailwind
colors: {
  custom: {
    50: '#a86187',
    500: '#7f1658',
    950: '#000000',
  },
}
SCSS
$custom: #7f1658;
$custom-light: #a86187;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1658",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 322.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.15224,
    "h": 347.8
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7F1658
secondary
#3DB469
accent
#ED7D3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1658

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

Preview Lab → · Contrast checker → · Palette generator →

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