#681238#681238

#681238 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.8% C 0.123 H 359.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#681238
RGBrgb(104, 18, 56)
HSLhsl(333, 70%, 24%)
HSVhsv(333, 83%, 41%)
CMYKcmyk(0%, 82.7%, 46.2%, 59.2%)
CIE-LABlab(22.52, 39.88, -0.61)
CIE-LCHlch(22.52, 39.89, 359.13°)
OKLaboklab(34.82% 0.1226 -0.0011)
OKLCHoklch(34.82% 0.123 359.5)
XYZxyz(6.6396, 3.6621, 4.0978)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681238 #126842
analogous
#681263 #681238 #681712
triadic
#681238 #386812 #123868
tetradic
#681238 #636812 #126842 #171268
square
#681238 #636812 #126842 #171268
split-complementary
#681238 #126817 #126368
monochromatic
#1A050E #34091C #681238 #9C1B54 #D02470

Accessibility & contrast

On white

12.12
#681238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#681238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681238
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681238#FFFFFF#000000##FFFFFF
##6812381.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#3D3C36
Tritanopia (blue-blind)
#710223
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #681238;
/* rgb */ color: rgb(104, 18, 56);
/* oklch */ color: oklch(34.8% 0.123 359.5);
Tailwind
colors: {
  custom: {
    50: '#985a6e',
    500: '#681238',
    950: '#000000',
  },
}
SCSS
$custom: #681238;
$custom-light: #985a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#681238",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 333.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34818,
    "c": 0.1226,
    "h": 359.5
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#681238
secondary
#36A071
accent
#ED9E3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0407
muted
#7E797A

Preview Lab

Preview with #681238

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

Preview Lab → · Contrast checker → · Palette generator →

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