#7F1748#7F1748

#7F1748 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 357.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7F1748
RGBrgb(127, 23, 72)
HSLhsl(332, 69%, 29%)
HSVhsv(332, 82%, 50%)
CMYKcmyk(0%, 81.9%, 43.3%, 50.2%)
CIE-LABlab(28.36, 46.61, -2.35)
CIE-LCHlch(28.36, 46.67, 357.11°)
OKLaboklab(40.13% 0.1434 -0.0056)
OKLCHoklch(40.13% 0.143 357.8)
XYZxyz(10.2293, 5.5940, 6.6707)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1748 #177F4E
analogous
#7F177C #7F1748 #7F1A17
triadic
#7F1748 #487F17 #17487F
tetradic
#7F1748 #7C7F17 #177F4E #1A177F
square
#7F1748 #7C7F17 #177F4E #1A177F
split-complementary
#7F1748 #177F1A #177C7F
monochromatic
#1A050F #4B0E2B #7F1748 #B32065 #DB3683

Accessibility & contrast

On white

9.91
#7F1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1748
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1748#FFFFFF#000000##FFFFFF
##7F17481.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8A032D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1748;
/* rgb */ color: rgb(127, 23, 72);
/* oklch */ color: oklch(40.1% 0.143 357.8);
Tailwind
colors: {
  custom: {
    50: '#a9617a',
    500: '#7f1748',
    950: '#000000',
  },
}
SCSS
$custom: #7f1748;
$custom-light: #a9617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1748",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 331.731,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.14348,
    "h": 357.8
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#7F1748
secondary
#3EB47C
accent
#EC993C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1748

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

Preview Lab → · Contrast checker → · Palette generator →

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