#651228#651228

#651228 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.116 H 11.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#651228
RGBrgb(101, 18, 40)
HSLhsl(344, 70%, 23%)
HSVhsv(344, 82%, 40%)
CMYKcmyk(0%, 82.2%, 60.4%, 60.4%)
CIE-LABlab(21.41, 37.48, 8.89)
CIE-LCHlch(21.41, 38.52, 13.34°)
OKLaboklab(33.73% 0.1135 0.0223)
OKLCHoklch(33.73% 0.116 11.1)
XYZxyz(5.9667, 3.3534, 2.3402)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651228 #12654F
analogous
#651251 #651228 #652512
triadic
#651228 #286512 #122865
tetradic
#651228 #516512 #12654F #251265
square
#651228 #516512 #12654F #251265
split-complementary
#651228 #126525 #125165
monochromatic
#1A050A #310913 #651228 #991B3D #CD2551

Accessibility & contrast

On white

12.57
#651228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#651228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651228
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651228#FFFFFF#000000##FFFFFF
##6512281.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#3E3926
Tritanopia (blue-blind)
#6F001B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #651228;
/* rgb */ color: rgb(101, 18, 40);
/* oklch */ color: oklch(33.7% 0.116 11.1);
Tailwind
colors: {
  custom: {
    50: '#965961',
    500: '#651228',
    950: '#000000',
  },
}
SCSS
$custom: #651228;
$custom-light: #965961;
$custom-dark: #000000;
JSON
{
  "hex": "#651228",
  "rgb": {
    "r": 101,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 344.096,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.11562,
    "h": 11.1
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#651228
secondary
#369D82
accent
#EDBE3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #651228

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

Preview Lab → · Contrast checker → · Palette generator →

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