#7F1657#7F1657

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

Color values

HEX#7F1657
RGBrgb(127, 22, 87)
HSLhsl(323, 70%, 29%)
HSVhsv(323, 83%, 50%)
CMYKcmyk(0%, 82.7%, 31.5%, 50.2%)
CIE-LABlab(28.84, 48.61, -11.59)
CIE-LCHlch(28.84, 49.97, 346.58°)
OKLaboklab(40.67% 0.1486 -0.0305)
OKLCHoklch(40.67% 0.152 348.4)
XYZxyz(10.7602, 5.7752, 9.5631)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1657 #167F3E
analogous
#73167F #7F1657 #7F1623
triadic
#7F1657 #577F16 #16577F
tetradic
#7F1657 #7F7316 #167F3E #16237F
square
#7F1657 #7F7316 #167F3E #16237F
split-complementary
#7F1657 #237F16 #167F73
monochromatic
#1A0512 #4B0D33 #7F1657 #B31F7B #DC349C

Accessibility & contrast

On white

9.75
#7F1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1657
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1657#FFFFFF#000000##FFFFFF
##7F16571.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#890F35
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1657;
/* rgb */ color: rgb(127, 22, 87);
/* oklch */ color: oklch(40.7% 0.152 348.4);
Tailwind
colors: {
  custom: {
    50: '#a86186',
    500: '#7f1657',
    950: '#000000',
  },
}
SCSS
$custom: #7f1657;
$custom-light: #a86186;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1657",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 322.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.15167,
    "h": 348.4
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#7F1657
secondary
#3DB46A
accent
#ED7F3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1657

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

Preview Lab → · Contrast checker → · Palette generator →

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