#7C888E#7C888E

#7C888E is a mid, near-neutral grey. Relative luminance 0.238; OKLCH L 61.9% C 0.017 H 229.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C888E
RGBrgb(124, 136, 142)
HSLhsl(200, 7%, 52%)
HSVhsv(200, 13%, 56%)
CMYKcmyk(12.7%, 4.2%, 0%, 44.3%)
CIE-LABlab(55.93, -3.07, -4.70)
CIE-LCHlch(55.93, 5.62, 236.83°)
OKLaboklab(61.89% -0.011 -0.0127)
OKLCHoklch(61.89% 0.017 229.1)
XYZxyz(21.9977, 23.8460, 29.0297)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C888E #8E827C
analogous
#7C8E8B #7C888E #7C7F8E
triadic
#7C888E #8E7C88 #888E7C
tetradic
#7C888E #8B7C8E #8E827C #7F8E7C
square
#7C888E #8B7C8E #8E827C #7F8E7C
split-complementary
#7C888E #8E7C7F #8E8B7C
monochromatic
#434A4D #5F696E #7C888E #9DA6AA #BEC4C7

Accessibility & contrast

On white

3.64
#7C888E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7C888E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C888E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C888E#FFFFFF#000000##000000
##7C888E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85878E
Deuteranopia (green-blind)
#82858E
Tritanopia (blue-blind)
#778A8A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c888e;
/* rgb */ color: rgb(124, 136, 142);
/* oklch */ color: oklch(61.9% 0.017 229.1);
Tailwind
colors: {
  custom: {
    50: '#a2aaaf',
    500: '#7c888e',
    950: '#000000',
  },
}
SCSS
$custom: #7c888e;
$custom-light: #a2aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c888e",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 142
  },
  "hsl": {
    "h": 200,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.01675,
    "h": 229.1
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#7C888E
secondary
#B7B2AF
accent
#8A77B0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7C888E

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

Preview Lab → · Contrast checker → · Palette generator →

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