#641252#641252

#641252 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.3% C 0.134 H 338.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#641252
RGBrgb(100, 18, 82)
HSLhsl(313, 69%, 23%)
HSVhsv(313, 82%, 39%)
CMYKcmyk(0%, 82%, 18%, 60.8%)
CIE-LABlab(22.83, 42.15, -17.97)
CIE-LCHlch(22.83, 45.82, 336.91°)
OKLaboklab(35.26% 0.1252 -0.0487)
OKLCHoklch(35.26% 0.134 338.7)
XYZxyz(6.9950, 3.7518, 8.3368)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641252 #126424
analogous
#4D1264 #641252 #641229
triadic
#641252 #526412 #125264
tetradic
#641252 #644D12 #126424 #122964
square
#641252 #644D12 #126424 #122964
split-complementary
#641252 #296412 #12644D
monochromatic
#1A0515 #300927 #641252 #981B7D #CC25A7

Accessibility & contrast

On white

12.00
#641252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#641252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641252
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641252#FFFFFF#000000##FFFFFF
##6412521.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#333B50
Tritanopia (blue-blind)
#6A1631
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #641252;
/* rgb */ color: rgb(100, 18, 82);
/* oklch */ color: oklch(35.3% 0.134 338.7);
Tailwind
colors: {
  custom: {
    50: '#935a83',
    500: '#641252',
    950: '#000000',
  },
}
SCSS
$custom: #641252;
$custom-light: #935a83;
$custom-dark: #000000;
JSON
{
  "hex": "#641252",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 313.171,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35263,
    "c": 0.13438,
    "h": 338.7
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#641252
secondary
#369C4C
accent
#EC623B
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #641252

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

Preview Lab → · Contrast checker → · Palette generator →

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