#641227#641227

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

Color values

HEX#641227
RGBrgb(100, 18, 39)
HSLhsl(345, 69%, 23%)
HSVhsv(345, 82%, 39%)
CMYKcmyk(0%, 82%, 61%, 60.8%)
CIE-LABlab(21.17, 37.08, 9.23)
CIE-LCHlch(21.17, 38.21, 13.97°)
OKLaboklab(33.5% 0.1121 0.023)
OKLCHoklch(33.5% 0.114 11.6)
XYZxyz(5.8386, 3.2893, 2.2465)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641227 #12644F
analogous
#641250 #641227 #642612
triadic
#641227 #276412 #122764
tetradic
#641227 #506412 #12644F #261264
square
#641227 #506412 #12644F #261264
split-complementary
#641227 #126426 #125064
monochromatic
#1A050A #300913 #641227 #981B3B #CC254F

Accessibility & contrast

On white

12.67
#641227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641227
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641227#FFFFFF#000000##FFFFFF
##6412271.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641227;
/* rgb */ color: rgb(100, 18, 39);
/* oklch */ color: oklch(33.5% 0.114 11.6);
Tailwind
colors: {
  custom: {
    50: '#965960',
    500: '#641227',
    950: '#000000',
  },
}
SCSS
$custom: #641227;
$custom-light: #965960;
$custom-dark: #000000;
JSON
{
  "hex": "#641227",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 344.634,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33503,
    "c": 0.11447,
    "h": 11.6
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#641227
secondary
#369C82
accent
#ECBF3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #641227

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

Preview Lab → · Contrast checker → · Palette generator →

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