#7F1438#7F1438

#7F1438 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.141 H 7.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7F1438
RGBrgb(127, 20, 56)
HSLhsl(340, 73%, 29%)
HSVhsv(340, 84%, 50%)
CMYKcmyk(0%, 84.3%, 55.9%, 50.2%)
CIE-LABlab(27.57, 45.99, 7.27)
CIE-LCHlch(27.57, 46.56, 8.98°)
OKLaboklab(39.39% 0.1402 0.0186)
OKLCHoklch(39.39% 0.141 7.6)
XYZxyz(9.7173, 5.2993, 4.2518)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1438 #147F5B
analogous
#7F146E #7F1438 #7F2614
triadic
#7F1438 #387F14 #14387F
tetradic
#7F1438 #6E7F14 #147F5B #26147F
square
#7F1438 #6E7F14 #147F5B #26147F
split-complementary
#7F1438 #147F26 #146E7F
monochromatic
#1A040C #4A0C21 #7F1438 #B41C4F #DE2F6A

Accessibility & contrast

On white

10.20
#7F1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1438
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1438#FFFFFF#000000##FFFFFF
##7F14381.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1438;
/* rgb */ color: rgb(127, 20, 56);
/* oklch */ color: oklch(39.4% 0.141 7.6);
Tailwind
colors: {
  custom: {
    50: '#aa5f6e',
    500: '#7f1438',
    950: '#000000',
  },
}
SCSS
$custom: #7f1438;
$custom-light: #aa5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1438",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 339.813,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.14143,
    "h": 7.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#7F1438
secondary
#3BB48B
accent
#EFB238
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1438

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

Preview Lab → · Contrast checker → · Palette generator →

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