#681228#681228

#681228 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.3% C 0.119 H 11.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#681228
RGBrgb(104, 18, 40)
HSLhsl(345, 70%, 24%)
HSVhsv(345, 83%, 41%)
CMYKcmyk(0%, 82.7%, 61.5%, 59.2%)
CIE-LABlab(22.05, 38.43, 9.87)
CIE-LCHlch(22.05, 39.68, 14.41°)
OKLaboklab(34.32% 0.1161 0.0246)
OKLCHoklch(34.32% 0.119 11.9)
XYZxyz(6.3089, 3.5298, 2.3562)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681228 #126852
analogous
#681253 #681228 #682712
triadic
#681228 #286812 #122868
tetradic
#681228 #536812 #126852 #271268
square
#681228 #536812 #126852 #271268
split-complementary
#681228 #126827 #125368
monochromatic
#1A050A #340914 #681228 #9C1B3C #D02450

Accessibility & contrast

On white

12.31
#681228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#681228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681228
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681228#FFFFFF#000000##FFFFFF
##6812281.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A28
Deuteranopia (green-blind)
#403B26
Tritanopia (blue-blind)
#72001C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #681228;
/* rgb */ color: rgb(104, 18, 40);
/* oklch */ color: oklch(34.3% 0.119 11.9);
Tailwind
colors: {
  custom: {
    50: '#995a61',
    500: '#681228',
    950: '#000000',
  },
}
SCSS
$custom: #681228;
$custom-light: #995a61;
$custom-dark: #000000;
JSON
{
  "hex": "#681228",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 344.651,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.11868,
    "h": 11.9
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#681228
secondary
#36A085
accent
#EDC03B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0F0405
muted
#7E7979

Preview Lab

Preview with #681228

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

Preview Lab → · Contrast checker → · Palette generator →

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