#641228#641228

#641228 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.115 H 10.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#641228
RGBrgb(100, 18, 40)
HSLhsl(344, 69%, 23%)
HSVhsv(344, 82%, 39%)
CMYKcmyk(0%, 82%, 60%, 60.8%)
CIE-LABlab(21.19, 37.16, 8.56)
CIE-LCHlch(21.19, 38.13, 12.97°)
OKLaboklab(33.53% 0.1126 0.0215)
OKLCHoklch(33.53% 0.115 10.8)
XYZxyz(5.8554, 3.2960, 2.3349)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641228 #12644E
analogous
#641251 #641228 #642512
triadic
#641228 #286412 #122864
tetradic
#641228 #516412 #12644E #251264
square
#641228 #516412 #12644E #251264
split-complementary
#641228 #126425 #125164
monochromatic
#1A050A #300913 #641228 #981B3D #CC2551

Accessibility & contrast

On white

12.66
#641228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#641228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641228
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641228#FFFFFF#000000##FFFFFF
##6412281.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282828
Deuteranopia (green-blind)
#3D3926
Tritanopia (blue-blind)
#6E001B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #641228;
/* rgb */ color: rgb(100, 18, 40);
/* oklch */ color: oklch(33.5% 0.115 10.8);
Tailwind
colors: {
  custom: {
    50: '#955961',
    500: '#641228',
    950: '#000000',
  },
}
SCSS
$custom: #641228;
$custom-light: #955961;
$custom-dark: #000000;
JSON
{
  "hex": "#641228",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 343.902,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.1146,
    "h": 10.8
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#641228
secondary
#369C81
accent
#ECBD3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #641228

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

Preview Lab → · Contrast checker → · Palette generator →

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