#671252#671252

#671252 is a dark, vivid pink. Relative luminance 0.039; OKLCH L 35.8% C 0.136 H 340.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#671252
RGBrgb(103, 18, 82)
HSLhsl(315, 70%, 24%)
HSVhsv(315, 83%, 40%)
CMYKcmyk(0%, 82.5%, 20.4%, 59.6%)
CIE-LABlab(23.43, 42.92, -17.00)
CIE-LCHlch(23.43, 46.16, 338.39°)
OKLaboklab(35.8% 0.1283 -0.0459)
OKLCHoklch(35.8% 0.136 340.3)
XYZxyz(7.3330, 3.9261, 8.3526)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671252 #126727
analogous
#511267 #671252 #671227
triadic
#671252 #526712 #125267
tetradic
#671252 #675112 #126727 #122767
square
#671252 #675112 #126727 #122767
split-complementary
#671252 #276712 #126751
monochromatic
#1A0515 #330929 #671252 #9B1B7B #CF24A5

Accessibility & contrast

On white

11.76
#671252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#671252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671252
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671252#FFFFFF#000000##FFFFFF
##6712521.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F54
Deuteranopia (green-blind)
#353D50
Tritanopia (blue-blind)
#6E1531
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #671252;
/* rgb */ color: rgb(103, 18, 82);
/* oklch */ color: oklch(35.8% 0.136 340.3);
Tailwind
colors: {
  custom: {
    50: '#965b82',
    500: '#671252',
    950: '#000000',
  },
}
SCSS
$custom: #671252;
$custom-light: #965b82;
$custom-dark: #000000;
JSON
{
  "hex": "#671252",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 314.824,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.358,
    "c": 0.1363,
    "h": 340.3
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#671252
secondary
#369F50
accent
#ED673B
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040A
muted
#7E797C

Preview Lab

Preview with #671252

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

Preview Lab → · Contrast checker → · Palette generator →

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