#AF246E#AF246E

#AF246E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.185 H 353.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF246E
RGBrgb(175, 36, 110)
HSLhsl(328, 66%, 41%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 79.4%, 37.1%, 31.4%)
CIE-LABlab(40.42, 59.70, -7.95)
CIE-LCHlch(40.42, 60.22, 352.41°)
OKLaboklab(51.08% 0.1835 -0.0203)
OKLCHoklch(51.08% 0.185 353.7)
XYZxyz(21.1259, 11.5042, 15.8569)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF246E #24AF65
analogous
#AB24AF #AF246E #AF2428
triadic
#AF246E #6EAF24 #246EAF
tetradic
#AF246E #AFAB24 #24AF65 #2428AF
square
#AF246E #AFAB24 #24AF65 #2428AF
split-complementary
#AF246E #28AF24 #24AFAB
monochromatic
#490F2E #7C1A4E #AF246E #D63A8D #E16DAA

Accessibility & contrast

On white

6.36
#AF246E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF246E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF246E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF246E#FFFFFF#000000##FFFFFF
##AF246E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#68686B
Tritanopia (blue-blind)
#BD1146
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af246e;
/* rgb */ color: rgb(175, 36, 110);
/* oklch */ color: oklch(51.1% 0.185 353.7);
Tailwind
colors: {
  custom: {
    50: '#cc6e97',
    500: '#af246e',
    950: '#000000',
  },
}
SCSS
$custom: #af246e;
$custom-light: #cc6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#af246e",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 328.058,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.18459,
    "h": 353.7
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#AF246E
secondary
#68C794
accent
#E98E3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF246E

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

Preview Lab → · Contrast checker → · Palette generator →

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