#7F1733#7F1733

#7F1733 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.138 H 11.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7F1733
RGBrgb(127, 23, 51)
HSLhsl(344, 69%, 29%)
HSVhsv(344, 82%, 50%)
CMYKcmyk(0%, 81.9%, 59.8%, 50.2%)
CIE-LABlab(27.75, 44.73, 10.90)
CIE-LCHlch(27.75, 46.04, 13.69°)
OKLaboklab(39.48% 0.1353 0.0272)
OKLCHoklch(39.48% 0.138 11.4)
XYZxyz(9.6573, 5.3653, 3.6584)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1733 #177F63
analogous
#7F1767 #7F1733 #7F2F17
triadic
#7F1733 #337F17 #17337F
tetradic
#7F1733 #677F17 #177F63 #2F177F
square
#7F1733 #677F17 #177F63 #2F177F
split-complementary
#7F1733 #177F2F #17677F
monochromatic
#1A050A #4B0E1E #7F1733 #B32048 #DB3662

Accessibility & contrast

On white

10.13
#7F1733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1733
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1733#FFFFFF#000000##FFFFFF
##7F17331.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343433
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1733;
/* rgb */ color: rgb(127, 23, 51);
/* oklch */ color: oklch(39.5% 0.138 11.4);
Tailwind
colors: {
  custom: {
    50: '#aa606a',
    500: '#7f1733',
    950: '#000000',
  },
}
SCSS
$custom: #7f1733;
$custom-light: #aa606a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1733",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 343.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.13803,
    "h": 11.4
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#7F1733
secondary
#3EB494
accent
#ECBD3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1733

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

Preview Lab → · Contrast checker → · Palette generator →

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