#7F1338#7F1338

#7F1338 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.142 H 7.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7F1338
RGBrgb(127, 19, 56)
HSLhsl(339, 74%, 29%)
HSVhsv(339, 85%, 50%)
CMYKcmyk(0%, 85%, 55.9%, 50.2%)
CIE-LABlab(27.48, 46.26, 7.14)
CIE-LCHlch(27.48, 46.81, 8.77°)
OKLaboklab(39.32% 0.1411 0.0183)
OKLCHoklch(39.32% 0.142 7.4)
XYZxyz(9.7000, 5.2647, 4.2460)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1338 #137F5A
analogous
#7F136E #7F1338 #7F2413
triadic
#7F1338 #387F13 #13387F
tetradic
#7F1338 #6E7F13 #137F5A #24137F
square
#7F1338 #6E7F13 #137F5A #24137F
split-complementary
#7F1338 #137F24 #136E7F
monochromatic
#1B040C #4A0B21 #7F1338 #B41B4F #E02D6A

Accessibility & contrast

On white

10.23
#7F1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1338
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1338#FFFFFF#000000##FFFFFF
##7F13381.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1338;
/* rgb */ color: rgb(127, 19, 56);
/* oklch */ color: oklch(39.3% 0.142 7.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f6e',
    500: '#7f1338',
    950: '#000000',
  },
}
SCSS
$custom: #7f1338;
$custom-light: #aa5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1338",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 339.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39322,
    "c": 0.14226,
    "h": 7.4
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#7F1338
secondary
#39B48A
accent
#F1B137
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1338

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

Preview Lab → · Contrast checker → · Palette generator →

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