#641248#641248

#641248 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.128 H 345.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#641248
RGBrgb(100, 18, 72)
HSLhsl(320, 69%, 23%)
HSVhsv(320, 82%, 39%)
CMYKcmyk(0%, 82%, 28%, 60.8%)
CIE-LABlab(22.34, 40.69, -11.97)
CIE-LCHlch(22.34, 42.41, 343.61°)
OKLaboklab(34.74% 0.1235 -0.0318)
OKLCHoklch(34.74% 0.128 345.6)
XYZxyz(6.6418, 3.6106, 6.4768)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641248 #12642E
analogous
#571264 #641248 #64121F
triadic
#641248 #486412 #124864
tetradic
#641248 #645712 #12642E #121F64
square
#641248 #645712 #12642E #121F64
split-complementary
#641248 #1F6412 #126457
monochromatic
#1A0513 #300923 #641248 #981B6D #CC2593

Accessibility & contrast

On white

12.20
#641248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#641248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641248
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641248#FFFFFF#000000##FFFFFF
##6412481.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D49
Deuteranopia (green-blind)
#363A46
Tritanopia (blue-blind)
#6B102B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #641248;
/* rgb */ color: rgb(100, 18, 72);
/* oklch */ color: oklch(34.7% 0.128 345.6);
Tailwind
colors: {
  custom: {
    50: '#945a7b',
    500: '#641248',
    950: '#000000',
  },
}
SCSS
$custom: #641248;
$custom-light: #945a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#641248",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 320.488,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.12756,
    "h": 345.6
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#641248
secondary
#369C59
accent
#EC783B
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0409
muted
#7E797B

Preview Lab

Preview with #641248

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

Preview Lab → · Contrast checker → · Palette generator →

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