#671228#671228

#671228 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.118 H 11.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#671228
RGBrgb(103, 18, 40)
HSLhsl(344, 70%, 24%)
HSVhsv(344, 83%, 40%)
CMYKcmyk(0%, 82.5%, 61.2%, 59.6%)
CIE-LABlab(21.84, 38.11, 9.55)
CIE-LCHlch(21.84, 39.29, 14.06°)
OKLaboklab(34.12% 0.1152 0.0238)
OKLCHoklch(34.12% 0.118 11.7)
XYZxyz(6.1934, 3.4703, 2.3508)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671228 #126751
analogous
#671252 #671228 #672612
triadic
#671228 #286712 #122867
tetradic
#671228 #526712 #126751 #261267
square
#671228 #526712 #126751 #261267
split-complementary
#671228 #126726 #125267
monochromatic
#1A050A #330914 #671228 #9B1B3C #CF2450

Accessibility & contrast

On white

12.40
#671228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#671228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671228
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671228#FFFFFF#000000##FFFFFF
##6712281.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2928
Deuteranopia (green-blind)
#3F3B26
Tritanopia (blue-blind)
#71001B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #671228;
/* rgb */ color: rgb(103, 18, 40);
/* oklch */ color: oklch(34.1% 0.118 11.7);
Tailwind
colors: {
  custom: {
    50: '#985961',
    500: '#671228',
    950: '#000000',
  },
}
SCSS
$custom: #671228;
$custom-light: #985961;
$custom-dark: #000000;
JSON
{
  "hex": "#671228",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 344.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.11766,
    "h": 11.7
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#671228
secondary
#369F84
accent
#EDBF3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0F0405
muted
#7E7979

Preview Lab

Preview with #671228

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

Preview Lab → · Contrast checker → · Palette generator →

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