#671231#671231

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

Color values

HEX#671231
RGBrgb(103, 18, 49)
HSLhsl(338, 70%, 24%)
HSVhsv(338, 83%, 40%)
CMYKcmyk(0%, 82.5%, 52.4%, 59.6%)
CIE-LABlab(22.08, 38.89, 3.60)
CIE-LCHlch(22.08, 39.05, 5.29°)
OKLaboklab(34.39% 0.119 0.0096)
OKLCHoklch(34.39% 0.119 4.6)
XYZxyz(6.3648, 3.5388, 3.2530)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671231 #126748
analogous
#67125B #671231 #671D12
triadic
#671231 #316712 #123167
tetradic
#671231 #5B6712 #126748 #1D1267
square
#671231 #5B6712 #126748 #1D1267
split-complementary
#671231 #12671D #125B67
monochromatic
#1A050C #330918 #671231 #9B1B4A #CF2463

Accessibility & contrast

On white

12.30
#671231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671231
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671231#FFFFFF#000000##FFFFFF
##6712311.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A32
Deuteranopia (green-blind)
#3E3B2F
Tritanopia (blue-blind)
#710020
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #671231;
/* rgb */ color: rgb(103, 18, 49);
/* oklch */ color: oklch(34.4% 0.119 4.6);
Tailwind
colors: {
  custom: {
    50: '#975a68',
    500: '#671231',
    950: '#000000',
  },
}
SCSS
$custom: #671231;
$custom-light: #975a68;
$custom-dark: #000000;
JSON
{
  "hex": "#671231",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 338.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.11939,
    "h": 4.6
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#671231
secondary
#369F79
accent
#EDAC3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0406
muted
#7E797A

Preview Lab

Preview with #671231

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

Preview Lab → · Contrast checker → · Palette generator →

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