#7F1835#7F1835

#7F1835 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.137 H 10.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7F1835
RGBrgb(127, 24, 53)
HSLhsl(343, 68%, 30%)
HSVhsv(343, 81%, 50%)
CMYKcmyk(0%, 81.1%, 58.3%, 50.2%)
CIE-LABlab(27.91, 44.58, 9.76)
CIE-LCHlch(27.91, 45.63, 12.36°)
OKLaboklab(39.62% 0.1352 0.0246)
OKLCHoklch(39.62% 0.137 10.3)
XYZxyz(9.7226, 5.4237, 3.9024)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1835 #187F62
analogous
#7F1869 #7F1835 #7F2F18
triadic
#7F1835 #357F18 #18357F
tetradic
#7F1835 #697F18 #187F62 #2F187F
square
#7F1835 #697F18 #187F62 #2F187F
split-complementary
#7F1835 #187F2F #18697F
monochromatic
#1A050B #4C0E20 #7F1835 #B2224A #D93865

Accessibility & contrast

On white

10.07
#7F1835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1835
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1835#FFFFFF#000000##FFFFFF
##7F18351.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1835;
/* rgb */ color: rgb(127, 24, 53);
/* oklch */ color: oklch(39.6% 0.137 10.3);
Tailwind
colors: {
  custom: {
    50: '#aa606b',
    500: '#7f1835',
    950: '#000000',
  },
}
SCSS
$custom: #7f1835;
$custom-light: #aa606b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1835",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 343.107,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.13737,
    "h": 10.3
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#7F1835
secondary
#3FB393
accent
#EBBA3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1835

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

Preview Lab → · Contrast checker → · Palette generator →

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