#7F1837#7F1837

#7F1837 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.138 H 9.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7F1837
RGBrgb(127, 24, 55)
HSLhsl(342, 68%, 30%)
HSVhsv(342, 81%, 50%)
CMYKcmyk(0%, 81.1%, 56.7%, 50.2%)
CIE-LABlab(27.96, 44.73, 8.49)
CIE-LCHlch(27.96, 45.53, 10.74°)
OKLaboklab(39.67% 0.136 0.0216)
OKLCHoklch(39.67% 0.138 9)
XYZxyz(9.7696, 5.4425, 4.1498)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1837 #187F60
analogous
#7F186B #7F1837 #7F2D18
triadic
#7F1837 #377F18 #18377F
tetradic
#7F1837 #6B7F18 #187F60 #2D187F
square
#7F1837 #6B7F18 #187F60 #2D187F
split-complementary
#7F1837 #187F2D #186B7F
monochromatic
#1A050B #4C0E21 #7F1837 #B2224D #D93869

Accessibility & contrast

On white

10.06
#7F1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1837
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1837#FFFFFF#000000##FFFFFF
##7F18371.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343538
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1837;
/* rgb */ color: rgb(127, 24, 55);
/* oklch */ color: oklch(39.7% 0.138 9.0);
Tailwind
colors: {
  custom: {
    50: '#aa606d',
    500: '#7f1837',
    950: '#000000',
  },
}
SCSS
$custom: #7f1837;
$custom-light: #aa606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1837",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 341.942,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.13768,
    "h": 9
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#7F1837
secondary
#3FB390
accent
#EBB73D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1837

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

Preview Lab → · Contrast checker → · Palette generator →

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