#7F183E#7F183E

#7F183E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.139 H 4.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7F183E
RGBrgb(127, 24, 62)
HSLhsl(338, 68%, 30%)
HSVhsv(338, 81%, 50%)
CMYKcmyk(0%, 81.1%, 51.2%, 50.2%)
CIE-LABlab(28.15, 45.33, 4.05)
CIE-LCHlch(28.15, 45.51, 5.10°)
OKLaboklab(39.88% 0.1388 0.0108)
OKLCHoklch(39.88% 0.139 4.4)
XYZxyz(9.9494, 5.5145, 5.0970)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F183E #187F59
analogous
#7F1872 #7F183E #7F2618
triadic
#7F183E #3E7F18 #183E7F
tetradic
#7F183E #727F18 #187F59 #26187F
square
#7F183E #727F18 #187F59 #26187F
split-complementary
#7F183E #187F26 #18727F
monochromatic
#1A050D #4C0E25 #7F183E #B22257 #D93874

Accessibility & contrast

On white

9.99
#7F183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F183E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F183E#FFFFFF#000000##FFFFFF
##7F183E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32363F
Deuteranopia (green-blind)
#4D4A3C
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f183e;
/* rgb */ color: rgb(127, 24, 62);
/* oklch */ color: oklch(39.9% 0.139 4.4);
Tailwind
colors: {
  custom: {
    50: '#a96173',
    500: '#7f183e',
    950: '#000000',
  },
}
SCSS
$custom: #7f183e;
$custom-light: #a96173;
$custom-dark: #000000;
JSON
{
  "hex": "#7f183e",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 337.864,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.13919,
    "h": 4.4
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#7F183E
secondary
#3FB389
accent
#EBAB3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F183E

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

Preview Lab → · Contrast checker → · Palette generator →

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