#7F1348#7F1348

#7F1348 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.147 H 357.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7F1348
RGBrgb(127, 19, 72)
HSLhsl(331, 74%, 29%)
HSVhsv(331, 85%, 50%)
CMYKcmyk(0%, 85%, 43.3%, 50.2%)
CIE-LABlab(27.97, 47.73, -2.93)
CIE-LCHlch(27.97, 47.82, 356.48°)
OKLaboklab(39.85% 0.147 -0.0071)
OKLCHoklch(39.85% 0.147 357.2)
XYZxyz(10.1557, 5.4470, 6.6462)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1348 #137F4A
analogous
#7F137E #7F1348 #7F1413
triadic
#7F1348 #487F13 #13487F
tetradic
#7F1348 #7E7F13 #137F4A #14137F
square
#7F1348 #7E7F13 #137F4A #14137F
split-complementary
#7F1348 #137F14 #137E7F
monochromatic
#1B040F #4A0B2A #7F1348 #B41B66 #E02D85

Accessibility & contrast

On white

10.05
#7F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1348
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1348#FFFFFF#000000##FFFFFF
##7F13481.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1348;
/* rgb */ color: rgb(127, 19, 72);
/* oklch */ color: oklch(39.8% 0.147 357.2);
Tailwind
colors: {
  custom: {
    50: '#a95f7a',
    500: '#7f1348',
    950: '#000000',
  },
}
SCSS
$custom: #7f1348;
$custom-light: #a95f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1348",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 330.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.14713,
    "h": 357.2
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#7F1348
secondary
#39B478
accent
#F19637
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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