#7F183C#7F183C

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

Color values

HEX#7F183C
RGBrgb(127, 24, 60)
HSLhsl(339, 68%, 30%)
HSVhsv(339, 81%, 50%)
CMYKcmyk(0%, 81.1%, 52.8%, 50.2%)
CIE-LABlab(28.10, 45.15, 5.31)
CIE-LCHlch(28.10, 45.46, 6.71°)
OKLaboklab(39.81% 0.138 0.0139)
OKLCHoklch(39.81% 0.139 5.7)
XYZxyz(9.8955, 5.4929, 4.8133)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F183C #187F5B
analogous
#7F1870 #7F183C #7F2718
triadic
#7F183C #3C7F18 #183C7F
tetradic
#7F183C #707F18 #187F5B #27187F
square
#7F183C #707F18 #187F5B #27187F
split-complementary
#7F183C #187F27 #18707F
monochromatic
#1A050C #4C0E24 #7F183C #B22254 #D93870

Accessibility & contrast

On white

10.01
#7F183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F183C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F183C#FFFFFF#000000##FFFFFF
##7F183C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353D
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f183c;
/* rgb */ color: rgb(127, 24, 60);
/* oklch */ color: oklch(39.8% 0.139 5.7);
Tailwind
colors: {
  custom: {
    50: '#aa6071',
    500: '#7f183c',
    950: '#000000',
  },
}
SCSS
$custom: #7f183c;
$custom-light: #aa6071;
$custom-dark: #000000;
JSON
{
  "hex": "#7f183c",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 339.029,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.13869,
    "h": 5.7
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7F183C
secondary
#3FB38B
accent
#EBAE3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F183C

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

Preview Lab → · Contrast checker → · Palette generator →

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