#A6255F#A6255F

#A6255F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 358.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A6255F
RGBrgb(166, 37, 95)
HSLhsl(333, 64%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 77.7%, 42.8%, 34.9%)
CIE-LABlab(38.30, 55.46, -1.82)
CIE-LCHlch(38.30, 55.49, 358.13°)
OKLaboklab(49.05% 0.1705 -0.0041)
OKLCHoklch(49.05% 0.171 358.6)
XYZxyz(18.4544, 10.2588, 11.8326)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6255F #25A66C
analogous
#A625A0 #A6255F #A62B25
triadic
#A6255F #5FA625 #255FA6
tetradic
#A6255F #A0A625 #25A66C #2B25A6
square
#A6255F #A0A625 #25A66C #2B25A6
split-complementary
#A6255F #25A62B #25A0A6
monochromatic
#420F26 #741A42 #A6255F #D2367C #DD689D

Accessibility & contrast

On white

6.88
#A6255F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A6255F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6255F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6255F#FFFFFF#000000##FFFFFF
##A6255F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B40E3F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6255f;
/* rgb */ color: rgb(166, 37, 95);
/* oklch */ color: oklch(49.1% 0.171 358.6);
Tailwind
colors: {
  custom: {
    50: '#c66d8c',
    500: '#a6255f',
    950: '#000000',
  },
}
SCSS
$custom: #a6255f;
$custom-light: #c66d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6255f",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 333.023,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49053,
    "c": 0.17051,
    "h": 358.6
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#A6255F
secondary
#64C398
accent
#E79C41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A6255F

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

Preview Lab → · Contrast checker → · Palette generator →

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