#681231#681231

#681231 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.6% C 0.120 H 5.0°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#681231
RGBrgb(104, 18, 49)
HSLhsl(338, 70%, 24%)
HSVhsv(338, 83%, 41%)
CMYKcmyk(0%, 82.7%, 52.9%, 59.2%)
CIE-LABlab(22.30, 39.19, 3.93)
CIE-LCHlch(22.30, 39.39, 5.73°)
OKLaboklab(34.58% 0.1199 0.0104)
OKLCHoklch(34.58% 0.12 5)
XYZxyz(6.4802, 3.5983, 3.2585)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681231 #126849
analogous
#68125C #681231 #681E12
triadic
#681231 #316812 #123168
tetradic
#681231 #5C6812 #126849 #1E1268
square
#681231 #5C6812 #126849 #1E1268
split-complementary
#681231 #12681E #125C68
monochromatic
#1A050C #340918 #681231 #9C1B4A #D02462

Accessibility & contrast

On white

12.21
#681231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#681231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681231
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681231#FFFFFF#000000##FFFFFF
##6812311.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B32
Deuteranopia (green-blind)
#3F3B2F
Tritanopia (blue-blind)
#720020
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #681231;
/* rgb */ color: rgb(104, 18, 49);
/* oklch */ color: oklch(34.6% 0.120 5.0);
Tailwind
colors: {
  custom: {
    50: '#985a68',
    500: '#681231',
    950: '#000000',
  },
}
SCSS
$custom: #681231;
$custom-light: #985a68;
$custom-dark: #000000;
JSON
{
  "hex": "#681231",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 338.372,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.12035,
    "h": 5
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#681231
secondary
#36A07A
accent
#EDAD3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0406
muted
#7E797A

Preview Lab

Preview with #681231

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

Preview Lab → · Contrast checker → · Palette generator →

#681231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva