#7F183D#7F183D

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

Color values

HEX#7F183D
RGBrgb(127, 24, 61)
HSLhsl(338, 68%, 30%)
HSVhsv(338, 81%, 50%)
CMYKcmyk(0%, 81.1%, 52%, 50.2%)
CIE-LABlab(28.12, 45.24, 4.68)
CIE-LCHlch(28.12, 45.48, 5.90°)
OKLaboklab(39.84% 0.1384 0.0123)
OKLCHoklch(39.84% 0.139 5.1)
XYZxyz(9.9222, 5.5036, 4.9538)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F183D #187F5A
analogous
#7F1870 #7F183D #7F2718
triadic
#7F183D #3D7F18 #183D7F
tetradic
#7F183D #707F18 #187F5A #27187F
square
#7F183D #707F18 #187F5A #27187F
split-complementary
#7F183D #187F27 #18707F
monochromatic
#1A050C #4C0E24 #7F183D #B22256 #D93872

Accessibility & contrast

On white

10.00
#7F183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F183D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F183D#FFFFFF#000000##FFFFFF
##7F183D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353E
Deuteranopia (green-blind)
#4D4A3B
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f183d;
/* rgb */ color: rgb(127, 24, 61);
/* oklch */ color: oklch(39.8% 0.139 5.1);
Tailwind
colors: {
  custom: {
    50: '#a96072',
    500: '#7f183d',
    950: '#000000',
  },
}
SCSS
$custom: #7f183d;
$custom-light: #a96072;
$custom-dark: #000000;
JSON
{
  "hex": "#7f183d",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 338.447,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.13894,
    "h": 5.1
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#7F183D
secondary
#3FB38A
accent
#EBAC3D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F183D

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

Preview Lab → · Contrast checker → · Palette generator →

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