#7F183B#7F183B

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

Color values

HEX#7F183B
RGBrgb(127, 24, 59)
HSLhsl(340, 68%, 30%)
HSVhsv(340, 81%, 50%)
CMYKcmyk(0%, 81.1%, 53.5%, 50.2%)
CIE-LABlab(28.07, 45.06, 5.94)
CIE-LCHlch(28.07, 45.45, 7.51°)
OKLaboklab(39.78% 0.1376 0.0154)
OKLCHoklch(39.78% 0.138 6.4)
XYZxyz(9.8693, 5.4825, 4.6754)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F183B #187F5C
analogous
#7F186F #7F183B #7F2918
triadic
#7F183B #3B7F18 #183B7F
tetradic
#7F183B #6F7F18 #187F5C #29187F
square
#7F183B #6F7F18 #187F5C #29187F
split-complementary
#7F183B #187F29 #186F7F
monochromatic
#1A050C #4C0E23 #7F183B #B22253 #D9386F

Accessibility & contrast

On white

10.02
#7F183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F183B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F183B#FFFFFF#000000##FFFFFF
##7F183B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353C
Deuteranopia (green-blind)
#4E4A39
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f183b;
/* rgb */ color: rgb(127, 24, 59);
/* oklch */ color: oklch(39.8% 0.138 6.4);
Tailwind
colors: {
  custom: {
    50: '#aa6070',
    500: '#7f183b',
    950: '#000000',
  },
}
SCSS
$custom: #7f183b;
$custom-light: #aa6070;
$custom-dark: #000000;
JSON
{
  "hex": "#7f183b",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 339.612,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.13846,
    "h": 6.4
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#7F183B
secondary
#3FB38C
accent
#EBB03D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F183B

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

Preview Lab → · Contrast checker → · Palette generator →

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