#7F183F#7F183F

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

Color values

HEX#7F183F
RGBrgb(127, 24, 63)
HSLhsl(337, 68%, 30%)
HSVhsv(337, 81%, 50%)
CMYKcmyk(0%, 81.1%, 50.4%, 50.2%)
CIE-LABlab(28.18, 45.42, 3.42)
CIE-LCHlch(28.18, 45.55, 4.30°)
OKLaboklab(39.91% 0.1392 0.0092)
OKLCHoklch(39.91% 0.139 3.8)
XYZxyz(9.9771, 5.5256, 5.2428)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F183F #187F58
analogous
#7F1872 #7F183F #7F2518
triadic
#7F183F #3F7F18 #183F7F
tetradic
#7F183F #727F18 #187F58 #25187F
square
#7F183F #727F18 #187F58 #25187F
split-complementary
#7F183F #187F25 #18727F
monochromatic
#1A050D #4C0E25 #7F183F #B22259 #D93875

Accessibility & contrast

On white

9.98
#7F183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F183F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F183F#FFFFFF#000000##FFFFFF
##7F183F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f183f;
/* rgb */ color: rgb(127, 24, 63);
/* oklch */ color: oklch(39.9% 0.139 3.8);
Tailwind
colors: {
  custom: {
    50: '#a96173',
    500: '#7f183f',
    950: '#000000',
  },
}
SCSS
$custom: #7f183f;
$custom-light: #a96173;
$custom-dark: #000000;
JSON
{
  "hex": "#7f183f",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 337.282,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.13946,
    "h": 3.8
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#7F183F
secondary
#3FB387
accent
#EBA93D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F183F

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

Preview Lab → · Contrast checker → · Palette generator →

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