#682138#682138

#682138 is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.4% C 0.104 H 3.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#682138
RGBrgb(104, 33, 56)
HSLhsl(341, 52%, 27%)
HSVhsv(341, 68%, 41%)
CMYKcmyk(0%, 68.3%, 46.2%, 59.2%)
CIE-LABlab(24.69, 33.85, 2.55)
CIE-LCHlch(24.69, 33.95, 4.30°)
OKLaboklab(36.42% 0.1034 0.0069)
OKLCHoklch(36.42% 0.104 3.8)
XYZxyz(6.9671, 4.3171, 4.2070)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682138 #216851
analogous
#68215C #682138 #682D21
triadic
#682138 #386821 #213868
tetradic
#682138 #5C6821 #216851 #2D2168
square
#682138 #5C6821 #216851 #2D2168
split-complementary
#682138 #21682D #215C68
monochromatic
#17070D #3A121F #682138 #963051 #C3416B

Accessibility & contrast

On white

11.27
#682138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#682138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682138
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682138#FFFFFF#000000##FFFFFF
##6821381.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#424036
Tritanopia (blue-blind)
#71182A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #682138;
/* rgb */ color: rgb(104, 33, 56);
/* oklch */ color: oklch(36.4% 0.104 3.8);
Tailwind
colors: {
  custom: {
    50: '#97616e',
    500: '#682138',
    950: '#000000',
  },
}
SCSS
$custom: #682138;
$custom-light: #97616e;
$custom-dark: #000000;
JSON
{
  "hex": "#682138",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 340.563,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36421,
    "c": 0.10358,
    "h": 3.8
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#682138
secondary
#499C81
accent
#DBAD4D
background
#F9F5F6
surface
#F2EAEB
border
#CCC6C6
text
#0E0507
muted
#7E797A

Preview Lab

Preview with #682138

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

Preview Lab → · Contrast checker → · Palette generator →

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