#7F1738#7F1738

#7F1738 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 8.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7F1738
RGBrgb(127, 23, 56)
HSLhsl(341, 69%, 29%)
HSVhsv(341, 82%, 50%)
CMYKcmyk(0%, 81.9%, 55.9%, 50.2%)
CIE-LABlab(27.88, 45.12, 7.70)
CIE-LCHlch(27.88, 45.77, 9.68°)
OKLaboklab(39.62% 0.1374 0.0197)
OKLCHoklch(39.62% 0.139 8.1)
XYZxyz(9.7735, 5.4117, 4.2705)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1738 #177F5E
analogous
#7F176C #7F1738 #7F2A17
triadic
#7F1738 #387F17 #17387F
tetradic
#7F1738 #6C7F17 #177F5E #2A177F
square
#7F1738 #6C7F17 #177F5E #2A177F
split-complementary
#7F1738 #177F2A #176C7F
monochromatic
#1A050B #4B0E21 #7F1738 #B3204F #DB366A

Accessibility & contrast

On white

10.09
#7F1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1738
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1738#FFFFFF#000000##FFFFFF
##7F17381.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1738;
/* rgb */ color: rgb(127, 23, 56);
/* oklch */ color: oklch(39.6% 0.139 8.1);
Tailwind
colors: {
  custom: {
    50: '#aa606e',
    500: '#7f1738',
    950: '#000000',
  },
}
SCSS
$custom: #7f1738;
$custom-light: #aa606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1738",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 340.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.13879,
    "h": 8.1
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#7F1738
secondary
#3EB48E
accent
#ECB43C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1738

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

Preview Lab → · Contrast checker → · Palette generator →

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